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 blueprint that can take a company of any maturity level all the way up to enterprise-scale continuous delivery using a combination of Automic Release Automation, Automic’s 20+ years of business automation experience, and the proven tools and practices the company is already leveraging.

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

Download the ‘Practical Blueprint to Continuous Delivery’ to learn how Automic Release Automation can help you begin or continue your company’s digital transformation.

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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}