Chapter summary

A WCF Service is a .NET type that is decorated with the ServiceContract attribute. Methods of the type that are to be exposed to the client should be decorated with the OperationContract attribute.

  • The standard approach to creating a service and contract is to create a class that implements an interface. The interface type definition is decorated with the ServiceContract attribute, and each method is decorated with the OperationContract attribute.

  • Service specifics can be implemented imperatively in code or through configuration. If desired, a combination of approaches can be used.

  • Each feature that can be implemented or manipulated through configuration can also be manipulated or controlled through code.

  • Behaviors enable you to control ...

Get Exam Ref 70-487: Developing Windows Azure and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.