RIA Services - Lessons Learned While Getting Started
Recently my company has been working on a rewrite of one of our line-of-business applications. We have decided to leverage RIA Services in the new application. At the moment we are also using Entity Framework; that may or may not change.
Here are a few lessons I’ve learned so far when working with RIA Services.
Potentially massive (in terms of lines of code & logic) domain services
RIA doesn’t handle multiple domain services well. What I mean by this is that an entity cannot be shared between multiple services. This means that in most cases you are going to have domain services with lots of methods. Worst case, think having an insert, update and delete method for each entity in your domain.