Getting Started with .Net RIA Services

Trusted By

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.

ScaleOut

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.

image

Now you can create the Domain Service Class that would represent your application logic

CreateDomainClass

Select the DataContexts/ObjectContexts available.

CreateDomainClass1

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.

image

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

Silverlight 3 Beta

.NET RIA Services March ‘09 Preview

Other Interesting Articles on .Net RIA Services

What is .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

.NET RIA Services - Building Data-Driven Applications with Microsoft Silverlight and Microsoft ASP.NET

Please subscribe to my RSS Feed to follow this series.

Hope this was helpful!

Hatim

7 Comments

Getting Started with .Net RIA Services…

Thank you for submitting this cool story - Trackback from DotNetShoutout…

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

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.

[...] 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 [...]

[...] First Part - Getting Started with .Net RIA Services [...]

[...] Getting Started with .Net RIA Services and .Net RIA Service – Hello World and .Net RIA Services Metadata Programming Model [...]

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.

Leave a Comment