Lessons learned building ASP.NET Core MVC
summary
History and hands‑on details of ASP.NET Core MVC from 1.0 → 2.0 → 2.1 and the move toward 3.0, with a live to‑do app showing Controllers, Razor Pages and API Controllers, and concrete fixes: an input‑formatter exception that used to be swallowed and turned into a bad validation response, enum binding allowing out‑of‑range integers, and missing parameter validation attributes now added. Shows building a JSON exception filter, using the application model to apply it only to APIs, and the compatibility switches mechanism plus the new endpoint routing primitive for unifying middleware, metadata and routing.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:40Demo
- 7:30Razor Pages
- 9:18Validation
- 9:53Common Things
- 11:06Open API Swagger
- 12:24Validation Error Handling
- 13:31Evolution of MVC
- 15:49Controller
- 17:19Middleware
- 18:40Filters
- 23:48Framework vs Library
- 28:17Breaking Change Behavior
- 31:31Validation Errors
- 37:48Strategy for managing change
- 39:55Compatibility Switches
- 43:08MVC Filters
- 50:24Application Model
- 52:24API Controller
- 53:18Middleware vs Filters
- 56:59Future Applications
related talks
01h 02mAdapting ASP.NET Core MVC to your needs
32mBuilding Secure ASP.NET Core MVC Applications
01h 01mAdapting ASP.NET Core MVC to your needs
01h 03mASP.NET Core 1: What has changed for MVC and Web API developers?
01h 00mIntroduction to ASP.NET Core Razor Pages
50mAdapting ASP.NET Core MVC to your needs
01h 18mASP.NET MVC in 2024: A Powerful Choice for Modern Web Development?
01h 01mWhat's New In ASP.NET Core
