Exercise 2: Service BehaviorsIn WCF Service Behaviors, modify the way a service works. Without any configuration your service does not have metadata (WSDL) enabled so you cannot test it or add a service reference to it. Previously in WCF3, when you wanted to apply service behavior, you had to create a named serviceBehavior and apply the behaviorConfiguration to a named service. In WCF4, when you create an unnamed service behavior it applies to all unnamed services. In this exercise, you will enable some service behaviors. Task 0 – Opening the SolutionTo begin this exercise you can use the solution you finished from Exercise 1. Alternatively, you can follow the following steps to begin with Exercise 2.
Task 1 – Enabling Behaviors
Next Step |
DownloadsDownload The Offline Training Kit Contents
|