static file middleware

ASP.NET Core middleware that serves files such as images and scripts straight from disk and short-circuits the request.

In more detail

By default it serves files from the wwwroot folder. Because it finishes early, requests for files never reach your endpoints.

Related terms

Taught in

References