https://www.algolesson.com/2025/07/middleware-in-aspnet-core.html
Middleware in ASP.NET Core.