I'm trying to pick up .NET MVC, and for my first project I'm going to be converting my PHP content management system over to .NET MVC.
Currently, I have a very simple project which uses the entity framework. What I would like, is to have two projects that both use the same models.
For example, my CMS has a frontend, for the website itself, and a backend to manage the site. These will be two seperate projects, with the admin side of things being in either a sub domain or directory. I could have it so each has there own model files for things like pages, and the interface to the database, but then I'm duplicating content and making it difficult to make changes in the future.
Is it possible to have both projects share the same models, so I'm not duplicating classes?
View Complete Post