Installing and Developing ASP.NET MVC 4 Applications
Join the DZone community and get the full member experience.Join For Free
In this article we are going to see how to install the required tools for ASP.NET MVC4 development and write a simple MVC 4 application using Visual Studio 2010. The ASP.NET MVC4 framework is used for developing reliable applications using the Model View Controller pattern. As of now, MVC4 is currently in its developer preview stage. We can use it to develop mobile and windows applications along with the Windows Azure environment. Let's take a look at the step-by-step installation process.
To install the MVC4 framework, we can download it by following the link: http://www.microsoft.com/web/gallery/install.aspx?appid=MVC4VS2010&prerelease=true
Click on Install - you will see the prerequisites required to install the framework, as shown in the screen below.
Once the installation is completed, you will see the Finish screen.
Open Visual Studio 2010 and create a new project. The ASP.NET MVC 4 application template will now become available:
You will notice that there will be a window, where you can select the type of the application template. I used Internet Application:
To check the project, build it by pressing F5 - the MVC4 application will be opened by your default web browser.
Published at DZone with permission of Karthikeyan Anbarasan, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.