In the next two posts I will describe how to create a WCF service and then how to consume it from within a Silverlight 2.0 application. But before we begin with the code let's take a look at the final application. Below is a SilverLight control that calls a WCF service. The WCF service returns a list of person objects. For the purpose of this demo the Person object is rather simple and contains only two properties; the first and last name. Clicking the button will call the WCF service, asynchronously, returning a list of person objects. This list of Person objects is then bound to a Silverlight DataGrid control. Go ahead, try it.
Stay tuned for the next post where I will detail how to create the WCF service and how to consume the service from within a Silverlight application.
Guess the movie
Know this. This creature is the bringer of death. He will never eat, he will never sleep, and he will never stop.