Getting started with ASP.NET Core MVC and Visual Studio?1285 of 1384 people found this helpful This tutorial will teach you the basics of building an ASP.NET Core MVC web app using Visual Studio 2015. Install Visual Studio and .NET Core?
Create a web app?From the Visual Studio Start page, tap New Project. Alternatively, you can use the menus to create a new project. Tap File > New > Project. Complete the New Project dialog:
In the New ASP.NET Core Web Application - MvcMovie dialog, tap Web Application, and then tap OK. Warning You must have the Authentication set to Individual User Accounts in this release for the scaffolding engine to work. 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. This is a simple “Hello World!” project, and it’s a good place to start, Tap F5 to run the app in debug mode or Ctl-F5 in non-debug mode.
The default template gives you working Home, Contact, About, Register and Log in links. The browser image above doesn’t show theses links. Depending on the size of your browser, you might need to click the navigation icon to show them. In the next part of this tutorial, we’ll learn about MVC and start writing some code. |
|