Microsoft.AspNetCore.StaticFiles Namespace

Classes

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

Enables directory browsing

FileExtensionContentTypeProvider

Provides a mapping between file extensions and MIME types.

HtmlDirectoryFormatter

Generates an HTML view for a directory.

StaticFileMiddleware

Enables serving static files for a given request path

StaticFileResponseContext

Contains information about the request and the file that will be served in response.

Interfaces

IContentTypeProvider

Used to look up MIME types given a file path

IDirectoryFormatter

Generates the view for a directory