ASP.NET Core MVC is a rich framework created by Microsoft for building web apps and APIs using the Model-View-Controller design pattern.

We just published a course on the freeCodeCamp.org YouTube channel that will teach you how to use the latest version of ASP.NET Core MVC.

Bhrugen Patel developed this course. Bhrugen is an experienced developer who has been teaching about ASP.NET for years.

In this course you will learn the basics of .NET Core (.NET 6) and then build a simple CRUD application with MVC. The course is for anyone who is familiar with ASP.NET basics and wants to know how to architect and code real-world applications in ASP.NET Core.

Here are the different parts of this course:

Section 1: Introduction

  • Welcome
  • Live Preview
  • Tools Needed
  • Introduction to .Net Core
  • Dependency injection
  • Create Project
  • Project File
  • Launch settings
  • Programs
  • MVC Architecture
  • Routing Overview
  • Routing in Action
  • Default Views
  • Tag Helper
  • Action Result
  • Hot Reload

Section 2: Database Setup

  • Create Category Model
  • Add Data Annotations
  • Add Connection String
  • Add ApplicationDbContext
  • Setup Program.cs to use DbContext
  • Check Database

Section 3: Category CRUD Operations

  • Create Category Controller
  • Retrieve all Categories
  • Display all Categories
  • Bootswatch Theme
  • Bootstrap Icons
  • Create Category View
  • Demo- Create Category
  • Server Side Validation
  • Custom Validation
  • Add Client Side Validation
  • Display Name and Range Validation
  • Edit Category - GET
  • Edit Category - POST
  • Delete Category
  • Tempdata
  • Partial views
  • Toastr Alerts
  • Scaffold CRUD
  • Create SQL Database on Azure
  • Azure Deployment
  • Congratulations

Watch the full course below or on the freeCodeCamp.org YouTube channel (3-hour watch).