Saturday, September 17, 2011
This is the second post in the WCF 4.5 series, and this time we’ll talk about WSDL files.
1. What’s new in WCF 4.5? let’s start with WCF configuration
A few weeks ago, I posted about the difference between exposing the service metadata through WSDL and through a MEX endpoint. One of the things I noted in the post was that the metadata exposed through a WSDL file is actually one part of the overall metadata – in addition to the WSDL file, there is usually an additional set of files, XSD files, that contain the data contracts of the...
Wednesday, August 10, 2011
When teaching WCF I am always asked about the difference between getting the service’s metadata by using the WSDL’s http get url, and getting the metadata by calling the MEX endpoint. To answer that question we first need to understand the different parts of the configuration that affect metadata creation. The ServiceMetadata behavior This behavior controls whether metadata is created for the service. When this behavior is used, the service is scanned, and metadata is created for the service’s contracts (a list of operations and types exposed by the service). If the behavior is...