Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Jumping from ASP.NET to Silverlight 2 Figure 1: Use the LINQ to SQL designer to automatically assign DataContract and DataMember attributes to your data classes by setting the Serialization Mode to Unidirectional. The ability to access server objects through proxies in Silverlight 2 opens the door for you to provide your own data persistence solution however you see fit, and in the same manner that you normally would in your ASP.NET projects. Regardless of whether you use LINQ to SQL, NHibernate, ADO.NET Entity Framework, ADO.NET Data Services, or another solution, you will be able to send and receive representations of your business objects and work with real-world data in Silverlight 2.