Building Web Services for Silverlight

Without a doubt, the most effective way for a Silverlight application to tap into server-side code is through web services. The basic idea is simple: you include a web service with your ASP.NET website, and your Silverlight application calls the methods in that web service. Your web services can provide server-generated content that isn't available on the client (or would be too computationally expensive to calculate). Or, your web services can run queries and perform updates against a server-side database, as you'll see in Chapter 20. With a little extra work, it can even use ASP.NET services such as authentication, caching, and session state.

Silverlight applications can call old-style ASP.NET web services ...

Get Pro Silverlight 5 in VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.