February 2010
Beginner
400 pages
11h 13m
English
Two great features previously seen in the WCF REST starter kit (www.asp.net/downloads/starter-kits/wcf-rest) have been brought into WCF4:
Help pages
HTTP caching
Help pages are automatically generated HTML pages that describe how to call your service and the type of response it will return, and can be very helpful for working out how to call the darn thing. Help pages are created automatically when you use the WebServiceHost class (although at the time of writing this doesn't seem to be the case) and when using the HelpEnabled property on WebHttpBehavior.
Let's take a look at this now with a contrived example:
Create a new WCF service library project called Chapter7.WCFWebService.
Add a console ...