Applies to Silverlight 3, 4 and 5
In the previous recipe, we connected with the service and read the result of the service call. However, we can also send data back to the service as a type known by the service. If a type is used as the type for a parameter or as the return type for a service method, that type will be exposed by the service as well. Through the proxy generation, we have access to this type inside the Silverlight application as well.
In this recipe, we'll add another method to the web service that uses a custom type as the type for its parameter.
This recipe builds on the code from the previous recipe. If you want to follow along with this recipe, you can either continue ...