Shared Rules

Apr 16, 2009 at 11:54 PM
Edited Apr 16, 2009 at 11:55 PM
Would be nice to have some guidance on how to share business rules between the entities on the server and possibly a Model on the client.
Apr 20, 2009 at 9:16 PM
I definitely agree - this would be interesting. To me, this is a more specialized area of a larger need that I describe like this.

Given a domain model and a number of different kinds of clients (ASP.NET MVC, WPF, Silverlight), how should that domain model be represented on each of the clients? I don't believe it's as easy as a shared assembly because the domain entities will have additional responsibilities depending on the client (serialization, data binding, etc).

I can't say we've figured this out yet, but it is definitely in our cross-hairs.

I'd be interestd if others have thoughts on this.