Answer
The Static Files Middleware serves files directly from the configured web root without invoking MVC or other higher-level components.
It should be placed early in the pipeline so that requests for static resources are short-circuited quickly, improving performance and avoiding unnecessary processing by downstream middleware or controllers.