When you run the app, you’ll see a different port number.
In the image above, the port number is 1234. When Visual Studio creates a web project, a random port is used for the web server. That’s because localhost always points to your own local computer, which in this case is running the app you just created. Notice that the address bar shows localhost:port# and not something like. Tap F5 to run the app in debug mode or Ctl-F5 in non-debug mode. This is a simple “Hello World!” project, and it’s a good place to start, Visual Studio used a default template for the MVC project you just created, so you have a working app right now by entering a project name and selecting a few options. )Ĭomplete the New ASP.NET Core Web Application - MvcMovie dialog:
From the Visual Studio Start page, tap New Project.Īlternatively, you can use the menus to create a new project.