Create a web app with ASP.NET Core MVC on Windows with Visual Studio

This tutorial teaches ASP.NET Core MVC web development with controllers and views. Razor Pages is a new alternative in ASP.NET Core 2.0, a page-based programming model that makes building web UI easier and more productive. We recommend you try the Razor Pages tutorial before the MVC version. The Razor Pages tutorial:

  • Is the preferred approach for new application development.
  • Is easier to follow.
  • Covers more features.

If you choose this tutorial over the Razor Pages version, please tell us why in this GitHub issue.

There are 3 versions of this tutorial:

  1. Get started
  2. Add a controller
  3. Add a view
  4. Add a model
  5. Work with SQL Server LocalDB
  6. Controller methods and views
  7. Add search
  8. Add a new field
  9. Add validation
  10. Examine the Details and Delete methods