ASP.NET Core

Overview

About ASP.NET Core

ASP.NET Core is Microsoft's open-source, cross-platform framework for building fast web apps, REST APIs, and real-time services with C#. This course starts with two foundation modules: Foundations: C# & .NET covers the language features, LINQ, async/await, and the dotnet CLI you need to be productive, while ASP.NET Core Basics shows how the hosting model and request lifecycle fit together.

Routing, Controllers & Minimal APIs then covers how requests reach your code, and Dependency Injection & Configuration teaches the built-in container and options pattern that structure every real application. Middleware & the Request Pipeline covers how to shape, log, and safely handle every request as it flows through your app.

Razor Pages & MVC covers server-rendered interfaces, while Data Access with EF Core covers modeling, migrating, and querying a database. Building REST APIs pulls these together into well-designed, documented endpoints, and Authentication & Authorization protects them with Identity, JWT, and policy-based access control.

Real-Time & Background Work adds SignalR and hosted services for features that live outside a single request. Finally, Testing ASP.NET Core Apps and Deployment & Performance take you from a working project to a tested, containerized application running in production with caching, health checks, and CI/CD behind it.

Content

12 modules
01

Foundations: C# & .NET

C# syntax and object-oriented programming, LINQ, async/await, and the .NET runtime and CLI — the groundwork for everything that follows.

C# LINQ async / await
02

ASP.NET Core Basics

Project structure, Program.cs and the minimal hosting model, the Kestrel web server, and how a request travels through an ASP.NET Core application.

Program.cs Kestrel Hosting
03

Routing, Controllers & Minimal APIs

Endpoint routing, route constraints, model binding, attribute-routed controllers, and when to choose Minimal APIs instead.

Routing Controllers Minimal APIs
04

Dependency Injection & Configuration

The built-in DI container and service lifetimes, plus appsettings, environment-specific config, user secrets, and the options pattern.

DI Container Service Lifetimes Options Pattern
05

Middleware & the Request Pipeline

How the middleware pipeline is ordered, writing custom middleware, action filters, global exception handling, and structured logging.

Middleware Filters Logging
06

Razor Pages & MVC

Server-rendered UIs with Razor Pages and MVC: views, layouts, partials, tag helpers, forms, and model validation.

Razor Pages MVC Tag Helpers
07

Data Access with EF Core

Modeling data with Entity Framework Core, migrations, relationships, querying with LINQ, and avoiding common performance traps like N+1 queries.

EF Core Migrations Relationships
08

Building REST APIs

Designing clean REST endpoints with DTOs, request validation, pagination, API versioning, ProblemDetails errors, and OpenAPI documentation.

DTOs Validation OpenAPI
09

Authentication & Authorization

ASP.NET Core Identity, cookie and JWT bearer authentication, roles, claims, and policy-based authorization to protect your app and APIs.

Identity JWT Policies
10

Real-Time & Background Work

Real-time features with SignalR, long-running jobs with hosted services and BackgroundService, and handling work outside the request cycle.

SignalR BackgroundService Worker Services
11

Testing ASP.NET Core Apps

Unit tests with xUnit, mocking dependencies, and integration tests using WebApplicationFactory against a real pipeline and test database.

xUnit Mocking Integration Tests
12

Deployment & Performance

Containerizing with Docker, CI/CD pipelines, deploying to Azure or Linux hosts, response caching, rate limiting, and health checks.

Docker Caching CI/CD

What You Can Do After This Course

By the end of the curriculum you'll have built several real ASP.NET Core projects and covered the full path from C# fundamentals to a tested, secured, production-ready application. Concretely, you'll be able to:

Write solid C# for the web — use modern C#, LINQ, and async/await to build code that is clear, testable, and non-blocking.

Build web apps and APIs — create ASP.NET Core applications with Razor Pages, MVC, controllers, or Minimal APIs, and choose the right one for the job.

Structure apps with DI and middleware — use dependency injection, configuration, and the middleware pipeline to keep code loosely coupled and observable.

Work with databases confidently — model data, run migrations, and write efficient queries with Entity Framework Core.

Secure your applications — add authentication with Identity and JWT, and enforce roles, claims, and policies on every endpoint.

Ship to production — test with xUnit and WebApplicationFactory, containerize with Docker, and deploy with caching, health checks, and CI/CD.