From the course: ASP.NET MVC: Building for Productivity and Maintainability

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Differentiating the ASP.NET MVC framework and design pattern

Differentiating the ASP.NET MVC framework and design pattern

From the course: ASP.NET MVC: Building for Productivity and Maintainability

Start my 1-month free trial

Differentiating the ASP.NET MVC framework and design pattern

- [Instructor] The ASP.NET MVC framework is a framework built by Microsoft to help developers employ the MVC, or model-view-controller pattern, a pattern that is rooted in the concept of separation of concerns, a concept which requires each component in the pattern to focus on doing one thing only. Models contain business logic, views know how to interact with users, and controllers orchestrate the model and the view to tie it all together. Now, I'm sure you probably knew all of that already since that's essentially the first lesson of every ASP.NET MVC tutorial available today. The reason I'm taking the time to remind you of it anyway is to point out that just about all of those tutorials, including my own, jump right into examples that, quite frankly, violate the concept of separation of concerns, such as having controllers interact with the database, or views that depend on the same exact models that are used to persist data into the database. The reason these recommendations are…

Contents