Re: From Silverlight to MVC CslaModelBinding child collections

Re: From Silverlight to MVC CslaModelBinding child collections

Old forum URL:

gyob00 posted on Monday, November 18, 2013

Yes, I have come to the conclusion that the demonstrative implementation of CSLA is not suited to a ASP.NET MVC environment. Its best to factor a CSLA implementation to only have the web server responsible for Log in security and load balance. The database layer should shred the data graph and deliver XML to the front end. The web server should not touch the XML normally. The front end should normally deal with XML unless loop performance becomes an issue. As Rocky states, the demonstrative implementation is really only an example. If you try to use that in an ASP.NET MVC stack, you are just screwing yourself out of performance and time and the real benefits of CSLA.


of course, someone's mileage will vary (and so should their factoring), but I have found my current philosophy has yet to be challenged by anything my particular job has thrown at it. XML on the front, a simple as possible web layer with 0-1 DB calls per method, and an overbuilt set of SQL sprocs performs AMAZINGLY and makes Chuck Norris die.

Copyright (c) Marimer LLC