O'Reilly logo

Exam Ref 70-487: Developing Windows Azure and Web Services by Wouter de Kort William Ryan and Shane Milton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Answers

This section contains the solutions to the thought experiments and answers to the lesson review questions in this chapter.

Objective 3.1: Thought experiment

  1. You have a few options here. One straightforward method would be to mark only the methods you want publicly exposed with the OperationContract attribute and leave the other ones undefined. You could alternately move all the private methods to another interface and have the service implement both the original interface and the new one.

  2. You have several options, but the most straightforward would be to use the DataContract serializer for both the complex types and the enumeration types. This would add a layer of consistency while keeping things simple. On the enumeration values, you would ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required