Your first project using ASP.NET MVC – Part 1 – Modeling your Solution
When you start to build something, a lot of concerns must be enumerated, when we talk about software development it´s not so different.
I have experience with .net framework since the version 1.1 , and nothing is made to be unchanged, because our needs are constantly changing and demanding others features to improve the quality of what we are working. So we can say that .net framework was embraced by a huge improvement when we talk about web development.
Asp.Net Web forms tried for a long time to make something statelless by default (web architecture) to be used like something statefull, and it was used even like that because the .net framework is an awesome framework to develop software, it´s friendly, secure and have a lot of knowledge encapsulated to handle a huge variety of software development technical scenarios and purposes.
Well, so asp.net mvc project comes to offer another choice, an architectural pattern well knew for those who are working with web application development outside .Net framework.
So, I spent one month writing my considerations about systems that are making use of web front-ends, enumerating who have been working to improve Asp.Net MVC since it was created and some communities that are working hard to spread this concept and all other good pratices and benefits that this architectural pattern can provide.
Now it´s time to share some code techniques based on blogs, events and books.
First of all, I would like to comment what Jimmy Bogard wrote in his blog about how to organize the solution: “So why not just do one UI project? Put all the code in there, and get the absolute fastest and the most flexible experience? Content structure is a completely different concern with completely different reasons for changethan organizing code. However you decide to organize your code, keeping the code out of the UI project ensures that you don’t mix code and content organization.”
There are two different organizations, one of them is related with your code, and another about your content. So we will focus how to organize our Content:
Jimmy Bogard´s aproach described at http://www.lostechies.com/blogs/jimmy_bogard/archive/2009/12/08/organizing-asp-net-mvc-solutions.aspx

You can see in the solution above: We just have 2 projects, while project UI stores javascript inside Scripts Folder, aspx pages inside Views folder and Images/Videos/CSS inside the Content folder, the another project Core stores everything else, all controllers are placed in there and some smart ideas make it works unplugged and easily replaceable, the article Part 2 will describe how the Core project works, with references of all other articles written by some great asp.net MVC professionals.
See you soon in my next post!
![color-organized-book-shelves[1]](http://vanderleipereiras.com/blog/wp-content/uploads/2010/08/color-organized-book-shelves1-300x285.jpg)


