Click here to Skip to main content
11,492,385 members (60,491 online)
Click here to Skip to main content

Tagged as

Using ASP.NET MVC5 within Visual Studio 2012

, 14 Dec 2013 CPOL 23.6K 7
Rate this:
Please Sign up or sign in to vote.
This quick article will cover how to go about creating and using ASP.NET MVC5 applications within Visual Studio.

It’s always nice to be using the latest and greatest of things, however not everyone really enjoys “change” (especially with regard to their development environments).

So this quick article will cover how to go about creating and using ASP.NET MVC5 applications within Visual Studio 2012 for those out there that want to keep up with the newest version of their favorite development technology but may not have the courage (or the cash) to upgrade to Visual Studio 2013.

Visual Studio 2012 by default will not offer you the option to create an MVC5 Web Application.

Visual Studio 2012 by default will not offer you the option to create an MVC5 Web Application.

In November of this year, the .NET team released the ASP.NET and Web Tools 2013.1 Update for Visual Studio 2012. I wish I could say the steps necessary to integrate MVC5 into Visual Studio 2012 were more complicated than simply downloading this, but they aren’t.

You can download the update itself from the link provided below:

You’ll find that after installing the update and restarting Visual Studio 2012, you’ll be able to create a new ASP.NET MVC5 application through Visual Studio 2012 :

After installing the update, you'll see that MVC5 is now available in Visual Studio 2012.

After installing the update, you’ll see that MVC5 is now available in Visual Studio 2012.

Great! What Else?

The update not only provides the necessary foundation for creating MVC5 applications, but it features the following additional improvements as well:

  • Bootstrap Integration – All MVC5 applications and application templates by default will have their markup “bootstrap-ified” using Twitter Bootstrap (which is integrated into the applications by default).
  • Web API 2 Templates – The latest version of Web API template isn’t going to be left out either. You’ll be able to create new Web API services just like MVC5 applications.
  • Entity Framework 6 – Entity Framework 6 will be installed and included within this update and will be used for all of the scaffolding operations in Web API or MVC5.
  • Improved Scaffolding - This improved scaffolding functions as a code generation framework for ASP.NET Web applications. It makes it easy to add boilerplate code to your project that interacts with a data model and will ensure that any items added through scaffolding will have all of the necessary dependencies (packages, references, etc.).
  • Razor Editor Improvements – You’ll find that the toolkit has a variety of improvements and supports the Razor 3 engine.
  • New NuGet – This update also includes the latest version of NuGet 2.7, which removes some of the need for manually restoring packages that go missing and also ensuring that all of your packages are up to date.

So if you are a bit hesitant to give Visual Studio 2013 a try, but you want to play around with some of the newer features and development templates that it provides, I would recommend downloading and checking out this update.

Filed under: CodeProject, Development

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Rion Williams
Software Developer (Senior)
United States United States
An experienced Software Developer and Graphic Designer with an extensive knowledge of object-oriented programming, software architecture, design methodologies and database design principles. Specializing in Microsoft Technologies and focused on leveraging a strong technical background and a creative skill-set to create meaningful and successful applications.

Well versed in all aspects of the software development life-cycle and passionate about embracing emerging development technologies and standards, building intuitive interfaces and providing clean, maintainable solutions for even the most complex of problems.
Follow on   Twitter

Comments and Discussions

 
QuestionMVC 5 Applications? Pin
ronmurp26-Apr-14 0:19
memberronmurp26-Apr-14 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150520.1 | Last Updated 15 Dec 2013
Article Copyright 2013 by Rion Williams
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid