What's New in WCF 4?
Windows Communication Foundation 4 includes a new feature that enables service discovery. Service discovery allows you to locate services on the same subnet using ad hoc discovery, or using a proxy to establish connections with servers regardless of where they are. In this lab you will create a simple chat application that will use both methods to learn about available services.
Windows Communication Foundation (WCF) in .NET 4 includes three new features areas:
In this lab, you will get a chance to try out these new features and learn how they work. You will also experience the improved hosting and deployment capabilities of the new Windows Server AppFabric.
Do I have to do all the exercises?This lab is long. To do all of it will probably take close to 2 hours. The lab is designed so that each exercise is independent of the others. Just open the solution found under the Begin folder for the exercise. For example, if you wanted to learn how to use Service Discovery you would start with Exercise 4 and open the solution from the Source\Ex4-ServiceDiscover\Begin folder
In this Hands-On Lab, you will learn:
You must have the following items to complete this lab:
All the requisites for this lab are verified using the Dependency Checker. To make sure that everything is correctly configured, follow these steps:
This Hands-On Lab comprises the following exercises.
This Hands-On Lab includes the following starting materials.
What if I get stuck?The source code that accompanies this hands-on lab includes an end folder where you can find a Visual Studio solution with the code that you would obtain if you complete the steps in each exercise. You can use this solution as a guide if you need additional help working through the exercises.