Saturday, 18 October 2008

ASP.NET MVC Beta Released

According to this, today beta version of ASP.NET MVC framework has released. You can download it from here. You can also visit www.asp.net/mvc to explore tutorials, quickstarts, and videos to learn more.

The ASP.NET MVC Beta works with both .NET 3.5 and .NET 3.5 SP1, and supports both VS 2008 and Visual Web Developer 2008 Express SP1 (which is free - and now supports class libraries and web application project types).

The Model-View-Controller (MVC) pattern separates the components of an MVC Web application. This separation gives you more control over the individual parts of the application, which lets you more easily develop, modify, and test them.

In an ASP.NET Web site, URLs typically map to files that are stored on disk (usually .aspx files). These .aspx files include markup and code that is processed in order to respond to the request.

The ASP.NET MVC framework maps URLs to server code differently than a typical ASP.NET Web site. Instead of mapping URLs to ASP.NET pages or handlers, the framework maps URLs to controller classes. Controller classes handle incoming requests, such as user input and interactions, and execute appropriate application and data logic, based on user input. (ASP.NET MVC controllers implement a pattern known as the Front Controller pattern.) A controller class typically calls a separate view component that generates HTML output as the response.

You can read more here.

This is a new and great feature that have been added. Have a look at samples to learn more about it.