-
Book Overview & Buying
-
Table Of Contents
Microsoft .NET Framework 4.5 Quickstart Cookbook
By :
Contract First development comes to us in .NET 4.5 WCF as the ability to create the service interface and data contract from a WSDL file. The WSDL file is generated in the svcutil.exe application with the /servicecontract flag.
This provides an excellent way to parallelize development since we can work on the backend service while it is being constructed, given that the service requirements and contract have been defined beforehand.
In this recipe, we will see how to use this new feature.
In order to use this recipe, you should have Visual Studio 2012 installed and a WSDL contract. For this recipe, we will use the dynamically generated web service we implemented in the first recipe.
In this recipe, we are going to generate a client for a WSDL file.
Open the project of our first recipe and set the ASP.NET website that hosts the asynchronous web service. Navigate on the browser to the web service, appending ?wsdl to the address. You should...
Change the font size
Change margin width
Change background colour