ASP.NET Core
Build web applications and services: the request pipeline, routing, model binding, validation, authentication, caching and production configuration.
Prerequisites
- C# fundamentals including classes and interfaces
- .NET basics: CLI, configuration, dependency injection
Technologies
About this course
ASP.NET Core is the piece that turns your C# into something reachable over a network. This course covers it from the HTTP request upward, because the framework makes far more sense once you know what it is doing to each request as it arrives.
The middleware pipeline is treated as a first-class topic early on. A surprising amount of confusion about authentication, CORS and error handling comes down to middleware being registered in the wrong order, and that is much easier to avoid than to debug.
Later modules move from making things work to making them safe to operate: error handling that does not leak internals, logging you can act on, caching that does not serve stale data, and configuration that differs correctly between development and production.
Course roadmap
All 23 lessons are written and available.
Module 01
HTTP and Framework Foundations
The protocol underneath everything, and how an ASP.NET Core application is arranged.
- 01HTTP FundamentalsDescribe requests, responses, methods, headers and status codes accurately.16 min
- 02ASP.NET Core ArchitectureExplain how the framework is composed and where your code fits.16 min
- 03Project Structure and StartupRead a project's startup code and know where each concern is configured.15 min
Module 02
The Request Pipeline
Middleware is the single most important concept in the framework, and order is behaviour rather than detail.
- 01MiddlewareWrite middleware and explain how a request passes through the pipeline.16 min
- 02Middleware OrderOrder middleware correctly, and diagnose problems caused by getting it wrong.18 min
- 03Dependency Injection in ASP.NET CoreRegister services and pick lifetimes that suit a per-request model.16 min
- 04Configuration and OptionsBind configuration sections to typed options classes.16 min
Module 03
Routing and Model Binding
Get a request to the right method, and turn its raw data into typed objects.
- 01RoutingMap URLs to handlers, including route parameters and constraints.16 min
- 02Controllers and ActionsOrganise endpoints into controllers and return appropriate results.16 min
- 03Minimal APIsDefine endpoints without controllers, and choose between the two approaches.15 min
- 04Model BindingTurn route values, query strings and request bodies into typed objects.17 min
Module 04
Validation, Errors and Logging
Reject bad input clearly, fail safely, and leave a trail you can diagnose from.
- 01Model ValidationValidate incoming models and return precise field-level errors.16 min
- 02Error HandlingHandle exceptions centrally and return safe responses that leak no internals.16 min
- 03FiltersApply cross-cutting behaviour around actions without repeating code.14 min
- 04Logging and CorrelationLog requests with enough context to trace one call through the system.16 min
Module 05
Authentication and Authorization
Establish who the caller is, then decide what they are allowed to do.
Module 06
Production Readiness
The difference between an application that runs and one you are willing to operate.
- 01CachingApply response and output caching, and recognise where caching causes harm.18 min
- 02Rate LimitingProtect endpoints from excessive use with appropriate limits.14 min
- 03Health ChecksExpose readiness and liveness so infrastructure can act on them.14 min
- 04PerformanceFind and fix the bottlenecks that actually affect request latency.18 min
- 05Production ConfigurationConfigure HTTPS, forwarded headers, secrets and diagnostics for real deployment.16 min
On completion
What you should take away
- Everything in ASP.NET Core is a response to an HTTP request, and that framing explains most of its design
- Middleware order is behaviour, not configuration detail
- Validation and error shaping belong at the boundary, before business logic runs
- Production readiness is a set of deliberate decisions: logging, health, caching, configuration and security
Recommended next course
Web API Development
Design and build APIs other developers can use without asking you questions: clear contracts, honest errors, pagination, versioning and documentation.
Continue to Web APIHave a project worth talking through?
Tell us what you're building or what's slowing your current system down. We'll give you a direct read on scope and approach.