ASP.NET MVC 3 (C#) Software Architecture

Posted by ryanzec on Programmers See other posts from Programmers or by ryanzec
Published on 2011-03-15T23:11:29Z Indexed on 2011/03/16 0:17 UTC
Read the original article Hit count: 270

Filed under:
|
|
|

I am starting on a relatively large and ambitious ASP.NET MVC 3 project and just thinking about the best way to organize my code. The project is basically going to be a general management system that will be capable of supporting any type management system whether it be a blogging system, cms, reservation system, wikis, forums, project management system, etc…, each of them being just a separate 'module'. You can read more about it on my blog posted here : http://www.ryanzec.com/index.php/blog/details/8 (forgive me, the style of the site kinda sucks).

For those who don't want to read the long blog post the basic idea is that the core system itself is nothing more than a users system with an admin interface to manage the users system. Then you just add on module as you need them and the module I will be creating is a simple blog post to test it out before I move on to the big module which is a project management system.

Now I am just trying to think of the best way to structure this so that it is easy for users to add in there own modules but easy for me to update to core system without worrying about the user modifying the core code. I think the ideal way would be to have a number of core projects that user is specifically told not to modify otherwise the system may become unstable and future updates would not work. When the user wants to add in there own modules, they would just add in a new project (or multiple projects). The thing is I am not sure that it is even possible to use multiple projects all with their own controllers, razor view template, css, javascript, etc... in one web application. Ideally each module would have some of it own razor view templates, css, javascript, image files and also need access to some of the core razor view templates, css, javascript, image files which would is in a separate project.

It is possible to have 1 web application run off of controllers, razor view templates, css, javascript, image files that are store in multiple projects?

Is there a better was to structure this to allow the user to easily add in module with having to modify the core code?

© Programmers or respective owner

Related posts about c#

Related posts about design