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

· DevOps Zone ·
Free Resource

Do you need to strengthen the security of the mobile apps you build? Discover more than 50 secure mobile development coding practices to make your apps more secure.

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

Check out tips for blazing the way from agile to DevSecOps with security built into your mobile app toolchain.

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

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}