O'Reilly logo

Bootstrap for ASP.NET MVC - Second Edition by Pieter van der Westhuizen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an empty ASP.NET project

Because Visual Studio Code is folder-based and not project-based like Visual Studio, it does not have a File | New Project option in its list of menus.

Scaffolding a project using Yeoman

Instead, you'll use Yeoman to scaffold a basic empty ASP.NET project. If you do not already have npm installed, complete the following steps:

  1. Open a new command prompt and navigate to the folder where you would like to create your project, for example, C:\MyBootstrap4Site.
  2. Enter the following command in the command prompt in order to install Yeoman and supporting tools:
            npm install -g yo grunt-cli generator-aspnet bower 
    
    

    After Yeoman and supporting tools have been installed, follow these steps:

  3. Enter the following command and press ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required