O'Reilly logo

Mastering LOB Development for Silverlight 5: A Case Study in Action by Rocío Serrano, Braulio Díez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have learned how to create a simple WCF web service and how to consume it from a Silverlight client. You can explore all the power of WCF, but keep in mind that the Silverlight WCF client can set some limitations to this power, as sometimes only some bindings and channels are supported. Anyway, it is being improved in every new version.

We have seen how easily Visual Studio generates all proxy classes (Client classes) in Silverlight from the WDSL definition of a web service. We have also learned how to consume an existing web service without WSDL facilities, passing parameters on URL and receiving and parsing the JSON response, close to REST principles. You can also apply this model with your own web services when it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required