How do you organize web projects?

How do you organize web projects?

Old forum URL: forums.lhotka.net/forums/t/895.aspx


MadGerbil posted on Monday, August 14, 2006

Greetings:

I was curious as to how you organize your web projects.  Right now I've attempted having a solution that contains a web project and a BO library project with the library referencing the CSLA frameworld .dlls.   I don't know if this is the best way to do it or not - any thoughts on organization?

david.wendelken replied on Monday, August 14, 2006

My web app also references CSLA, because I want to use SmartDate on occasion.

SonOfPirate replied on Wednesday, August 16, 2006

The concept that MS is trying to force down our throats with VS 2k5 is that the web portion of the application should be separate from the underlying business objects, data, etc. (form vs. function).  So, having your BOs in a separate library referenced from the web app is the right way to go.  Add whatever other references you need to your web app depending on your needs, but try as hard as you can to not introduce any objects directly into the web app.

BTW - this separation fits right in line with CSLA and mobile business objects and you are encouraged (I guess forced was a bit harsh) to separate your code along logical boundaries naturally by VS.

 

Copyright (c) Marimer LLC