Chapter 2. Service Contracts


The ServiceContract attribute presented in the previous chapter exposes an interface (or a class) as a service-oriented contract, allowing you to program in languages like C#, using constructs like interfaces, while exposing the constructs as WCF contracts and services. This chapter starts by discussing how to better bridge the gap between the two programming models by enabling operation overloading and contract inheritance. Next you will see a few simple yet powerful service contract design and factoring guidelines and techniques. The chapter ends by showing how to interact programmatically at run runtime with the metadata of the exposed contracts.




Programming WCF Services
Programming WCF Services
ISBN: 0596526997
EAN: 2147483647
Year: 2004
Pages: 148
Authors: Juval Lowy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net