• Home
  • Tutorials
  • Development Tools
  • Contact Us

Developing Software

Mastering Software Craftsmanship

How to Create an ASP.NET MVC 5 Web Application

1st February 2015 by @developingsoft

This post will show you how to create a new ASP.NET MVC 5 application using Visual Studio 2013.

Step 1: Open Visual Studio 2013

It goes without saying, you’re gonna need Visual Studio to create a web application using ASP.NET, and the version you will need for ASP.NET MVC 5 is Visual Studio 2013. If you haven’t already installed Visual Studio 2013, there’s now a free community edition that has all the features of professional.

Step 2: Create a new ASP.NET MVC 5 Application

  • Click File, New, then Project….

    Create New Project

  • Select Web, then ASP.NET Web Application, give the project a name, and then click OK.

    Select ASP.NET Web Application

  • Select the MVC template, tick Add unit tests, and then click OK.

    Select ASP.NET Web Application

Step 3: Update existing NuGet packages

Click on Tools, then NuGet Package Manager, then NuGet Package Manager Console.

Created ASP.NET MVC 5 Project

Enter the following command into the Package Manager Console window:

Update-Package

This will update all the existing packages.

Step 4: Run your new web application for the first time

Click on the MyWebApplication project, and then click the Play icon to launch the website.

Created ASP.NET MVC 5 Project

Step 5: Admire your new project 🙂

Running ASP.NET MVC 5 Website

That’s it!

A newly created web application that includes some impressive functionality out of the box. The default template gives you:

  • Bundling and minification.
  • The ability to register, and sign into your account.
  • A snazzy prebuilt layout that uses bootstrap.
  • And you get a framework that lets you create scaleable web applications using the well-established MVC design pattern.

To learn more about MVC 5, visit the: ASP.NET MVC 5 website.

Share this on:

Filed Under: Tutorials Tagged With: ASP.NET MVC, C#

Search

Advertisement

Newsletter

Subscribe now to receive practical tips on how to become a better software developer.

Free - No Spam - 100% Email Privacy

Featured Posts

Abstract Factory Pattern: C# Example Using the Unity Game Engine

23 Software Design Patterns That Will Make You a More Effective Programmer

How to Deploy an ASP.NET Core Website to Ubuntu with Git

How to Run an ASP.NET Core Website in Production on Ubuntu Linux

How to Install the Edimax Wireless nano USB Adapter on Windows IoT Core for Raspberry Pi

How to Convert a Post Title into a Friendly URL (Slug) in C#

How to Convert Markdown to HTML in ASP.NET Core

How to Send an E-Mail with ASP.NET Core and Mailgun

How to Generate a Sitemap in ASP.NET MVC and ASP.NET Core

How to Create an MD5 Hash of a String in C# and Displaying a Gravatar Image

© 2014–2023 Developing SoftwareTerms • Privacy