ASP.NET Core
Skip the pipeline
Skipping the middleware pipeline for favicon.ico and robots.txt in ASP.NET Core
A developer measured that favicon and robots.txt requests in ASP.NET Core walk the whole middleware chain like any API call. He shows how MapShortCircuit and ShortCircuit() answer those routes before the chain runs, with a counter proving zero middleware executions.