In this article we are going to see how to install required tool for ASP.NET MVC 4 and develop a simple MVC 4 application using the Visual Studio 2010. Asp.Net MVC 4 framework is used for developing reliable application using the Model View Controller pattern. As of now MVC 4 is currently a developers preview and not released as a RTM. We can use this to develop mobile and windows application along with the Windows Azure environment. Let us see the step by step process on installing the MVC 4 framework and create a simple application.[more]
For installing the MVC 4 framework, we can download it using the below link
Once we clicked on the above link we can see the Web Platform Installer will be opened and the MVC 4 framework is available for installation as shown in the screen below.
Now click on Install and we can see the prerequisites required to install the framework as shown in the screen below.
We can see the installation progresses and once the installation is completed we will be navigated to the finish screen as shown in the screen below.
Screen after the installation gets completed.
Now open Visual Studio 2010 Environment and create a new project. We can see the ASP.NET MVC 4 application template available as shown in the screen below.
Now we can see a window pop up to select the type of the application template. We will select the internet application as shown in the screen below.
Now click on OK to proceed further and we can see the application opened in the Visual Studio IDE as shown in the screen below.
Now to check the default template project look like just build and execute the application by pressing F5 and we can see the MVC 4 application opened as shown in the screen below.
Now we are well set to make changes to our MVC 4 application as per the requirement.