Using Visual Studio Code

In the folder named Part3, create a folder named NorthwindMvc.

In Visual Studio Code, open the NorthwindMvc folder.

In the Integrated Terminal, enter the following command to create an ASP.NET Core MVC application with a database for authenticating and authorizing users:

dotnet new mvc --auth Individual

The MVC project template uses Bower to manage client-side packages, for example, Bootstrap and jQuery. Bower are not installed with Visual Studio Code by default, so we need to install it now.

In Visual Studio Code, go to View | Extensions or press Shift + Cmd + X.

Search for bower to find the most popular Bower extension, and click on Install, as shown in the following screenshot:

Once Bower has installed, click ...

Get C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.