Silverlight TV 41: Top Tips for WCF RIA Services

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<img src="http://ecn.channel9.msdn.com/o9/ch9/7026/567026/sltv41_85_ch9.png" border="0" />On this episode, Dinesh Kulkarni shares his top tips for creating streamlined and performant WCF RIA Services applications. He walks through some key decision points while creating domain services (server side) for a Silverlight and RIA Services application. Among the tips Dinesh discusses are some of the benefits of creating the minimal number of entities, operations, and amount of data required for your application. He also discusses how to connect RIA Services to:
<ol>
Entity Framework
LINQ to SQL
nHibernate
Your own custom business objects
</ol>
Other topics Dinesh walks step-by-step through include:

hooking RIA Services up to your own POCO classes
adding role-based authorization
how to determine what objects will be exposed by RIA Services to the client
adding validation
identifying keys and associations for entities
indicating when to return object graphs
how to use the Composite attribute to bundle objects graphs

This is a great deep dive by one of the masterminds behind WCF RIA Services.

Relevant links:

http://johnpapa.net/ Johns blog  and on Twitter ( http://twitter.com/john_papa @john_papa )

http://code.msdn.microsoft.com/RiaServices Nhibernate and RIA Services sample  


PDC 2009 talk using same nhibernate sample: http://microsoftpdc.com/Sessions/CL07 Mastering WCF RIA Services


http://blogs.msdn.com/dinesh.kulkarni/ Dineshs blog and on Twitter ( http://twitter.com/di_ku @di_Ku )


Follow us on Twitter  http://www.twitter.com/SilverlightTV" title="Follow SilverlightTV at Twitter @SilverlightTV  or on the web at http://silverlight.tv http://silverlight.tv  


http://www.amazon.com/gp/product/1449388361?t=johnpanet-20 <img width="120" height="162" width="120" height="162" alt="book" src="http://channel9.msdn.com/Link/a5ca2476-2eb7-4c89-8fe9-212093f65bd8/" border="0" />  

Are you developing with Windows Phone 7? You can pre-order  http://jpapa.me/learnwp7 Learning Windows Phone Programming  today, by Jaime Rodriguez, Yochay Kiriaty and John Papa! Or check out http://www.learningwindowsphone.com the books web site . <img src="http://channel9.msdn.com/567026/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" />

View the full article
 
Back
Top