Search code examples
asp.netasp.net-mvcvisual-studio-2005

What is ASP.NET MVC?


Can anyone explaine me, what is MVC, why we use it and how we can use it. Benefits of using this? and can we use ASP.NET MVC in ASP.NET 2.0 (VS 2005)


Solution

  • Model View Controller (MVC) Also Microsoft ASP.NET MVC Framework. It is built using stuff in VS.NET 2008. It is best deployed on Windows 2008 Server. It will work on Windows 2003 Server but you loose some of the cool bits.

    Benefits of the ASP.NET MVC Framework include:

    • REST like urls i.e. /products/1/456
    • No aspx file extensions shown on your site.
    • Very clean output model, more like Classic ASP then ASP.NET WebForms.
    • Much easier to create a testable site then with WebForms.

    Downsides of ASP.NET MVC

    • It is in Beta
    • It should be run on Windows 2008, if you use Windows 2005 you will need to give an extension for all your pages.
    • It is very new.