MVC Sample for CSLA .NET 4.1.0

MVC Sample for CSLA .NET 4.1.0

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


Scott posted on Tuesday, May 10, 2011

I have not used CSLA .NET for many, many years but I recently downloaded the MVC sample.

I got it to run, but I see where it uses data from xml files. Which is fine as a sample, but I don't see a database and I don't see any comments on how to switch to a database. In fact, there really isn't any documentation on this sample that I can find.

So, I am stuck now, not knowing how to proceed. I'd really like to plug the sample code into a matching database. And the less work on my part, the better.

Can someone provide some guidance to my specific points/questions above?

Thanks.

RockfordLhotka replied on Tuesday, May 10, 2011

Unfortunately right now the best example is a moving target. I'm in the process of completing the MVC UI for ProjectTracker as part of the Using CSLA 4 ebook series. The current code includes a partial MVC UI, a mock data layer, and a partial EF data layer - all based on the code structures from the Using CSLA 4: Data Access ebook.

http://www.lhotka.net/cslacvs/viewvc.cgi/core/trunk/Samples/NET/cs/ProjectTracker/

Here are instructions on pulling code from svn:

http://www.lhotka.net/cslanet/Repository.aspx

Copyright (c) Marimer LLC