11.07.2015 Views

y - Net Developer

y - Net Developer

y - Net Developer

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 11 ■ WORKING WITH DATA 369ramrameshreddy.blog.comFigure 11-3. Sample portfolio using version 1 of the serviceFigure 11-4. Sample quote using version 1 of the serviceOn the other hand, if the client is aware of the updated service and wants to consumeversion 2, then as you can see in Figure 11-5 and Figure 11-6 there are more data membersreturned by each of the operations. To implement this new version, include theQuoteService2.cs file in the solution instead of QuoteService1.cs.Also note that no elements on the service end have changed in the sample—only theclient elements have been changing to simulate a client that either consumes the old versionor consumes the new version of the service.Figure 11-5. Sample portfolio using version 2 of the serviceramrameshreddyramrameshreddyFigure 11-6. Sample quote using version 2 of the service

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!