Over a million developers have joined DZone.

Installing and Developing ASP.NET MVC 4 Applications

The DevOps zone is brought to you in partnership with Sonatype Nexus. The Nexus suite helps scale your DevOps delivery with continuous component intelligence integrated into development tools, including Eclipse, IntelliJ, Jenkins, Bamboo, SonarQube and more. Schedule a demo today


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

2012-01-04 22h09_16

Click on Install - you will see the prerequisites required to install the framework, as shown in the screen below.

2012-01-04 22h17_44

Once the installation is completed, you will see the Finish screen.

2012-01-04 22h20_10

2012-01-04 23h03_53

Open Visual Studio 2010 and create a new project. The ASP.NET MVC 4 application template will now become available:

2012-01-04 23h07_06

You will notice that there will be a window, where you can select the type of the application template. I used Internet Application:

2012-01-04 23h09_33

To check the project, build it by pressing F5 - the MVC4 application will be opened by your default web browser.

2012-01-04 23h12_28

The DevOps zone is brought to you in partnership with Sonatype Nexus. Use the Nexus Suite to automate your software supply chain and ensure you're using the highest quality open source components at every step of the development lifecycle. Get Nexus today

dotnet ,microsoft ,web ,asp.net ,development ,mvc4

Published at DZone with permission of Karthikeyan Anbarasan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}