Creating an MVC app

Project creation

The walkthrough assumes you have Visual Studio with ASP.NET workload and the latest .NET Core SDK installed

  • Open the terminal

  • Change to the directory that will contain the project

  • Create the MVCMovie project

  • Change directory to get into the project folder

  • Run

The commands needed are shown below:

dotnet new mvc -o MvcMovie
cd MvcMovie
dotnet watch

dotnet new mvc -o MvcMovie creates a new ASP.NET Core MVC project in the MvcMovie folder.

Last updated