Microsoft.​Asp​Net​Core.​Static​Files Microsoft.​Asp​Net​Core.​Static​Files Namespace


DefaultFilesMiddleware DefaultFilesMiddleware 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.
DirectoryBrowserMiddleware DirectoryBrowserMiddleware Enables directory browsing
FileExtensionContentTypeProvider FileExtensionContentTypeProvider Provides a mapping between file extensions and MIME types.
HtmlDirectoryFormatter HtmlDirectoryFormatter Generates an HTML view for a directory.
StaticFileMiddleware StaticFileMiddleware Enables serving static files for a given request path
StaticFileResponseContext StaticFileResponseContext Contains information about the request and the file that will be served in response.


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