.NET RIA Services May 2009 Preview
- 0
- Add a Comment
Welcome Back! I hope you enjoy the content on this site. If you have not done so already, you may want to subscribe to my RSS feed or become a fan of this blog on Facebook. Thanks for visiting!
A new preview of .Net RIA Services is available for download with tons of bug fixes and other enhancements:
Also added are the following samples. I am more intrigued by the XML Metadata Provider as this can probably offer some very flexible implementations, oh boy… I see some neat code generation tricks!!
XML Metadata Provider
This sample serves two purposes. First, it demonstrates how to create a custom metadata provider that can participate in the .NET RIA Services metadata pipeline. Secondly, the sample also provides a working solution to the existing problem of providing additional metadata for types that you don’t own or can’t modify.
Click here to download: XML Metadata Provider
Linq to SQL DomainService Sample
This sample demonstrates how to create a .NET RIA Services DomainService base class for a particular data source or DAL (Data Access Layer). Two such providers are provided by the framework already – the LinqToSql and LinqToEntities DomainService base classes. All the APIs and functionality needed to create those DomainServices are public, which supports the creation of providers targeting other sources of data, for example NHibernate or other DALs, or an Amazon Web Services provider.
Click here to download: Linq to SQL DomainService Sample
Authentication Samples
These two quick starts cover the default use cases of the UserService in May 2009 preview. The first is fully integrated with ASP.NET providers while the second is implemented using Entity Framework contexts. “Quick Start” comments have been included in the source to highlight and explain the implementation.
Click here to download: Authentication Samples
SilverlightStore SEO Example (CSharp)
This simple application demonstrates the use of XML data and a POCO (plain old CLR object) DomainService. The server-side use of the DomainDataSource control is used to render content as well as a XML sitemap—all indexable by search engines. The down-level content is only visible to clients viewing the site without the required version of Silverlight installed (or JavaScript disabled).
Click here to download: SilverlightStore SEO Example (CSharp)
For more examples check out Brad Abrams blog and http://code.msdn.microsoft.com/RIAServices
Hope this helps!
Hatim