Create a web app with ASP.NET Core MVC on macOS with Visual Studio for Mac

This series of tutorials teaches you the basics of building an ASP.NET Core MVC web app using Visual Studio for Mac.

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 and later, 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, let us know why in this GitHub issue.

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