Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing and Developing ASP.NET MVC 4 Applications

DZone's Guide to

Installing and Developing ASP.NET MVC 4 Applications

Free Resource

Download “The DevOps Journey - From Waterfall to Continuous Delivery” to learn learn about the importance of integrating automated testing into the DevOps workflow, brought to you in partnership with Sauce Labs.

Introduction:

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.

Steps:

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

Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure, brought to you in partnership with Sauce Labs

Topics:
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 DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

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

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}