Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is ASP.NET MVC 5 released or not?

According to Wikipedia - asp.NET MVC 5 was released on 17th October 2013.

However on the ASP Website I can't see where to download the package.

When I try to create a new Project in VS 2013 - I can only choose asp.NET MVC 4.

How can I install MVC 5 ?

like image 962
Oleg Sh Avatar asked Dec 25 '22 18:12

Oleg Sh


2 Answers

In Visual Studio 2013, the MVC project wizard was merged with the ASP.NET Web Application Wizard. When you target .NET 4.5, select the ASP.NET project. You will be presented with a new wizard that will allow you to select a base template and then customize it further by adding support for Web API or MVC. It also allows you to customize the authentication/authorization model you wish to use in your application.

The MVC 4 wizard is still present under the VS 2012 node in the New Project dialog.

Runtime packages for MVC 5, Web API 2, and Web Pages 3 were published to nuget.org, so you can upgrade existing projects.

You can also download a separate installer for Visual Studio 2012 that will allow you to create an MVC 5 and Web API 2 project, albeit empty. Once you have the project created you will be able to add views and controllers using the new scaffolding. The download for the Visual Studio 2012 support can be found at here

Thanks, Jacques

like image 99
Jacques Eloff Avatar answered Jan 08 '23 14:01

Jacques Eloff


From the nuget site:

Microsoft ASP.NET MVC 5.0.0

To install Microsoft ASP.NET MVC, run the following command in the Package Manager Console

PM> Install-Package Microsoft.AspNet.Mvc

like image 25
Dinah Avatar answered Jan 08 '23 15:01

Dinah