We are starting new project which is going to use MVC3 and mongoDB for Database storage. Could anyone point us towards better Project architecture.
We have following queries:
- Can we have Project.Data (for data access to mongoDB), Project.WEB.UI(MVC), Project.Core (Business logics) - 3 projects in Visual studio solution file ?
- Where to have model classes ? in Project.Core ? how to share the model between those projects ?
- If anyone has these kind of architecture and have some sample classes and interface (in VS project file), Please share that for me
- We need to have data models as well to interact with mongodb? where to put these models ? can we share these models across all projects ? Any working code is highly appreciated.
Note: I have seen few other SO question already and those are not answering my questions directly.
Thanks in advance.