Your official information source from the .NET Web Development and Tools group at Microsoft.
We have released ASP.NET and Web Tools 2013.1 for Visual Studio 2012. This release brings a ton of great improvements, and include some fantastic enhancements to ASP.NET MVC 5, Web API 2, Scaffolding and Entity Framework to users of Visual Studio 2012 and Visual Studio 2012 Express for Web.
You can download and start using these features now.
Below are details on a few of the great improvements you can take advantage of with this release. Please visit http://asp.net/aspnet/overview/aspnet-and-visual-studio-2012/aspnet-and-web-tools-20131-for-visual-studio-2012 for additional release notes, documentation, and tutorials.
With this release of ASP.NET and Web Tools, it is now possible for developers using Visual Studio 2012 and Visual Studio 2013 to collaborate on an ASP.NET MVC 5 application. This release brings in key features such as support for ASP.NET Razor 3 editing which allows developers to use syntax highlighting and Intellisense when editing a Razor View in their MVC application. Developers can also be productive by using the new ASP.NET Scaffolding framework in Visual Studio 2012 in any type of web application project such as ASP.NET Web Forms, MVC, and Web API.
You can now use MVC 5 or Web API 2 project templates to create an application. These project templates will install the necessary NuGet packages for MVC 5 and Web API 2.
You can also add MVC 5 and Web API 2 controllers or views using item templates.
To learn more about what’s new in MVC 5 please visit http://www.asp.net/visual-studio/overview/2013/release-notes#TOC10
To learn more about what’s new in Web API 2 please visit http://www.asp.net/visual-studio/overview/2013/release-notes#TOC11
ASP.NET Scaffolding is a code generation framework for ASP.NET Web applications. In previous versions of Visual Studio, scaffolding was limited to running within ASP.NET MVC projects. Since the advent of "One ASP.NET" there is no specific ASP.NET MVC project type, as all projects are just ASP.NET projects.
With this update, you can use MVC's scaffolding from within any ASP.NET project, including scaffolding MVC controllors within Web Forms apps. To learn more about what is new in Scaffolding, please visit http://www.asp.net/visual-studio/overview/2013/aspnet-scaffolding-overview
With this release you will also get great editor support for editing Razor views in MVC. This includes features such as syntax highlighting, Intellisense etc.
When you Scaffold a MVC controller or Web API controller using Entity Framework, the controller will use Entity Framework 6 to generate code to perform CRUD actions on an entity. The controller also show cases some of the key features in Entity Framework 6 such as generating async actions. For more information on what’s new in Entity Framework please visit http://msdn.microsoft.com/en-US/data/jj574253
When you Scaffold a MVC controller with Entity Framework and generate views for CRUD operations, the views use Bootstrap CSS framework to style the pages. Bootstrap is a responsive mobile first CSS framework that makes front end web development much easier. For more information on how to customize Bootstrap please visit http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio#bootstrap.
NuGet 2.7 includes a rich set of new features which are described in detail at NuGet 2.7 Release Notes.
This version of NuGet improves the experience around automatic package restore. When installing NuGet 2.7, users implicitly consent to automatically restoring missing packages. Users can explicitly opt out of package restoration through the NuGet settings in Visual Studio. This change simplifies how package restore works.
ASP.NET and Web Tools 2013.1 for Visual Studio 2012 enables developers to take advantage of the improvements in ASP.NET MVC 5, Web API 2, Scaffolding, and Entity Framework when using Visual Studio 2012. This release also makes it possible for developers to collaborate on MVC 5 or Web API 2 projects across Visual Studio 2012 and 2013.
Please download and start using this update now. If you want an offline installer then please goto http://www.microsoft.com/en-us/download/details.aspx?id=41532
Is there any offline installer available? My company doesn't permit such connection to install it in other way... :(
Is there no way to get this update as a standalone download?
Silence may only mean it's just being prepared :).
I just installed the update on top of my VS2012 Ultimate Update 4 installation, and I don't get an ASP.NET MVC 5 Empty Project" project template as shown in the first screenshot. To avoid an corrupted installation I removed the update, added the "Web Developer Tools" feature again to VS and installed the update again. Unfortunately, still no MVC 5 project template. Even a repair install didn't help. Any solution to this problem?
Sorry to hear that, Could you please check if your .Net Framework selection in the project creation dialog is set to 4.5 or 4.5.1? The dialog will filter the template base on framework.
It that doesn't work, Can you see if following path exist?
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplatesCache\CSharp\Web\1033\MvcEmptyApplicationProjectTemplatev5.0.cshtml
We are working to provide standalone installers on the download centre
How did you remove the update?
That's the first thing I checked after installing the update. Changing the .Net Framework selection to 4.5 or 4.5.1 doesn't bring up the MVC 5 template.
The path you mention doensn't exist.
What further steps do you suggest?
In Programs and Features, I removed the "Microsoft ASP.NET and Web Tools 2013.1 - Visual Studio 2012" entry. After uninstalling I had to add the "Web Developer Tools" feature again to VS, because the update installer complained that I hadn't installed the "Web Developer Tools". Uninstalling the update, uninstalls also the "Web Developer Tools", it seems.
My problem is solved!
After some uninstalling, installing and Googling, the MVC 5 template is available in VS 2012.
I installed "Microsoft ASP.NET and Web Tools 2012.3 - Visual Studio 2012" and "Microsoft ASP.NET and Web Frameworks 2013.1 - Visual Studio 2012". For the second one I used the "Direct Download" link of this StackOverflow answer (stackoverflow.com/.../19560412)
Screenshot quality is abysmal. Clicking on the images is pretty much useless.
Can you not create a MVC 5 Web Application like you can with MVC 4?
MVC 5 Empty Project is just that, empty. VS 2013 gives you a working application when you create a new MVC 5 Web Application.
Still waiting a offline installer
It is Good
Here is the link to the offline installer www.microsoft.com/.../details.aspx
i need help with mvc..im just not getting it