Getting Started with .Net RIA Services
- 7
- 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!
This is a first part of multi-part series, please subscribe to my RSS Feed to follow this series.
I believe that the .Net RIA Services is to ASP.Net what ASP.Net was ASP pages. It really is a great and bold move from Microsoft and represents the future in business oriented applications.
Announced at MIX 09, .Net RIA Services showed how it’s possible to have a concrete, End-to-End, Application Pattern to build business oriented applications without have to deal with all the fuss and the piping required today to build a Rich Internet application.
You can think of it as RAD for RIA.
RIA Services can pretty much hook up to any back end:
- Databases through ADO.Net (LINQ to SQL, Entity Framework, …)
- POCO (Plain Old CLR Objects)
- Services (Rest, SOAP, …)
An application logic layer called a Domain Service Class is then generated that would handle the CRUD (Create, Retrieve, Update, Delete) and custom operations logic. You can think of this as your business layer in an n-tier architecture.
How it Works Overview – Really Easy
As I would like to make this a multi part post I would just give a brief overview of how to get started and talk in more details of the other features in upcoming posts.
After installing all the required components (see end of post for links) you start with a regular ASP.Net Application Project and a Silverlight client that you link to the ASP.Net project.
Now you can create the Domain Service Class that would represent your application logic
Select the DataContexts/ObjectContexts available.
Now all the methods that you created on the server side in the ASP.Net application would be available through a proxy class that was generated in the Silverlight application as shown in the screen shot bellow.
And can be used as a datasource for a Form, Grid… in the Silverlight application.
Pretty cool isn’t it?
.Net RIA services comes with a sleuth of features and that’s just the preview. I am really excited about what we would be able to achieve with this new framework.
What you need
Visual Studio 2008 SP1
.NET RIA Services March ‘09 Preview
Other Interesting Articles on .Net RIA Services
.NET RIA Services: From Vision to Architecture
Mix 09 .Net RIA Services Videos
Building Amazing Business Centric Applications with Microsoft Silverlight 3
Please subscribe to my RSS Feed to follow this series.
Hope this was helpful!
Hatim
7 Comments
DotNetShoutout
March 29th, 2009
at 6:20pm
Getting Started with .Net RIA Services…
Thank you for submitting this cool story - Trackback from DotNetShoutout…
Shane Stanford
March 29th, 2009
at 10:34pm
Does the proxy class contain how to call the methods on the server or does it just contain the fields and properties that were created
Hatim
March 29th, 2009
at 10:40pm
Hi Shane,
It contains the methods too,in the next part of this series I will talk in more details about the DomainService and the generated proxy class.
It’s very neat how it works, it’s like adding a reference to an assembly, and you call your method. The best part is it all happens asynchronously.
.Net RIA Service – Hello World | Hatim's Development Blog
March 31st, 2009
at 12:55pm
[...] is the second part of the a multi post series on .Net RIA Services. The first part – Getting Started with .Net RIA Services - was about how to get started, what you need to install and an overview of the platform. If you [...]
.Net RIA Services Metadata Programming Model | Hatim's Development Blog
April 2nd, 2009
at 9:31am
[...] First Part - Getting Started with .Net RIA Services [...]
Brad Abrams : Link Round up on .NET RIA Services (March 3rd)
April 4th, 2009
at 2:13am
[...] Getting Started with .Net RIA Services and .Net RIA Service – Hello World and .Net RIA Services Metadata Programming Model [...]
Craig Johnson
April 5th, 2009
at 7:38pm
This sounds promising. What is the depth of the LINQ expression tree serialization logic? A robust LINQ provider accessing arbitrary domains across the wire would make .NET RIA a huge winner. Please say it’s so!
Thanks…Craig.