Microsoft.AspNetCore.StaticFiles Microsoft.AspNetCore.StaticFiles Namespace


This examines a directory path and determines if there is a default file present. If so the file name is appended to the path and execution continues. Note we don't just serve the file because it may require interpretation.
Enables directory browsing
Provides a mapping between file extensions and MIME types.
Generates an HTML view for a directory.
Enables serving static files for a given request path
Contains information about the request and the file that will be served in response.


Used to look up MIME types given a file path
Generates the view for a directory