RIA.NET Server Architecture

I am using WebORB as a remote gateway for Flex projects . I was wondering what would be the best architecture to use on the .NET server side. We are currently using SubSonic to create a data access layer. Also, every call from Flex uses a little bit of the script transaction pattern because the server side really only acts as a way to get data from SQL Server 2005 to Flex and from Flex to SQL Server 2005.

Are there any best practices for server side RIAs ? I've been playing around with LINQ (stored procedures with multiple result sets gave us headaches) and I'm curious about ADO.NET Entity Framework ...

Concurrency is also a big problem. I know these things are handled by datasets, and LINQ supports that as well, but once the data is sent to Flex, there isn't really any connection to the orignal dataset.

Are there others who have experience with large RIAs?

0


source to share


1 answer


I created an application with architecture like:

Flash / Flex with ActionScript - > AMF.NET to call .NET method -> facade layer to format incoming and outgoing parameters -> simple ADO.NET using data provider model and Microsoft SqlHelper that calls stored procedures .

I was happy with the results as I was a .NET developer and the response times were good and I was able to get response datasets that can be directly bound to Flash / Flex controls like grids.



Check out this post for more information on my work and source code.

Hope this helps.

+1


source







All Articles