Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

ASP.NET MVC Solution Best Practices

1 hour, 20 minutes, 18 seconds


Right click “Save as…”

Developers choose ASP.NET MVC because it provides for more control over the resulting HTML, better separation of concerns, and better testability. But these benefits are only fully realized if the project and solution is set up properly. Otherwise, it's very possible to create a tightly coupled Big Ball of Mud solution that's difficult to test and change. In this session, we'll create a 'Walking Skeleton' solution of a simple web application using ASP.NET MVC 4 that shows off certain best practices of creating maintainable, loosely coupled solutions.

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Great no-nonsense presentation on organizing an ASP.NET MVC solution into "Core" (Interfaces, Models, and Services), "Infrastructure" (Repositories, Data Access context/helpers, 3rd-Party Service Implementations like Email, Payment, etc), Web (Controllers, Views, ViewModels, and HTML/CSS/JSS) and "Tests" projects.  The speaker takes you from the starting point of a default ASP.NET MVC 4 project ( examples apply to any version of ASP.NET MVC) and refactors the code into multiple projects using what he calls the "Onion Architecture".  Before viewing, I'd recommend that you should have some experience with creating ASP.NET MVC sites and a familiarity with writing Unit Tests.  The full source code for the sample "Guestbook Application" is available on the presenter's blog: http://ardalis.com/aspconf-2012-sessions

  • Thanks

    Very Useful Session and Solves the problem of  "separation of Concern". Big Smile

  • SoerenSoeren

    Great presentation. Learned a lot. Can't get to the sourcecode though, site seems to be down..

  • praveenpraveen


  • praveenpraveen

    Very Useful Session

  • good

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.