Where is the best place to place business rules in a Silverlight MVVM RIA Services application?

Where is the best place to place business rules in an RIA Silverlight application?

I thought that a domain service would be a good place, except that, apparently, only Data is passed to the client level. I don’t think ViewModel is a good idea, since we have to have business rules at the server level.

In common code? * .shared.cs? A.

Where do you post your business rules?

+3
source share
2 answers

For RIA services, your business logic must be in a domain service.

Can you give an example of how this is a problem for you?

: 3.3 : http://download.microsoft.com/download/F/B/8/FB8CA635-296B-487F-965C-8148F08B5319/riaservicesoverviewpreview.pdf

0

EF? EF , . , -.

0

Source: https://habr.com/ru/post/1708106/


All Articles