Introduction to ASP.NET MVC or MVC Beginners Introduction

Microsoft ASP.NET MVC is a web application development Framework built on top of Microsoft mature .Net Framework.

Before starting introducing to MVC Framework let’s check past where it came from Microsoft has a long dream to creating windows based web development platform.

Microsoft various web Development Platforms

Following are the platforms which introduced by Microsoft before Asp.Net MVC

Active server pages

For that Microsoft produce first answer as Active server pages (ASP) in this all code was written on same page (scripts and server code which became hard to understand and Maintain ) after that to overcome these things Microsoft produce another solution as Web Forms.

ASP.NET Web Forms Web Forms was solution for problem of ASP. The Web Forms came with separation of code in this we have separate UI and server code (HTML | SERVER) this became easy to developer to develop application and fast too. This was best Framework of many developers and many website are been develop from it. But problem with Frame work was that we cannot reuse code because (.aspx.cs) which is tightly coupled with (.aspx) and this also create problem while testing application because we cannot isolate this application because of tight coupling. For that Microsoft came with new flavor for web developing platform was MVC.

Asp.Net MVC (Model View Controller)

  • In 2008 Microsoft introduced first version of MVC.
  • MVC (Model View Controller) is an architectural pattern.
  • This is new Microsoft flavor for developing web application known as MVC (Model View Controller).
  • This is total different way of development from page based approach of web forms.
  • Think to remember is ASP.NETMVC it is not replacement for ASP.NET Webforms it’s another way to develop application.
  • Both ASP.NET Webforms and ASP.NETMVC are built on top of ASP.NET Framework.
  • Explaining below flow of MVC architecture in short.
  • The MVC framework is defined in the System.Web.MVC assemblies.

Topics Covered