Routing in ASP.NET Core — a practical guide to ASP.NET Core routing with clear examples you can reuse in real projects.
ASP & ASP.NET Tutorial Series (133/247). Prefer one article? Read the complete ASP.NET tutorial.
Short description
Minimal APIs use MapGet/MapPost style routing.
Routing tip
app.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");