Introducing the Programming Approach

The programming model of WCF, and the programming models of the other frameworks that are part of the .NET Framework 3.0 in general, allows you to program in a few ways. In other words, you can accomplish your goals using any of the following approaches:

  • You can use the object model programmatically.

  • You can use configuration files.

  • You can use declarative programming (attributes).

You will use all these approaches in most of your applications, and it is a great benefit for developers to be able to choose their preference. (That is, it is important to be able to make your application configurable for operations people, so you will not hard-code the URLs of your endpoints by using the object model.) The object ...

Get Pro WCF: Practical Microsoft SOA Implementation 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.