Microsoft.AspNetCore.StaticFiles 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. Creates a new instance of the DefaultFilesMiddleware. The next middleware in the pipeline. The used by this middleware. The configuration options for this middleware. This examines the request to see if it matches a configured directory, and if there are any files with the configured default names in that directory. If so this will append the corresponding file name to the request path for a later middleware to handle. Enables directory browsing Creates a new instance of the SendFileMiddleware. Using instance. The next middleware in the pipeline. The used by this middleware. The configuration for this middleware. Creates a new instance of the SendFileMiddleware. The next middleware in the pipeline. The used by this middleware. The used by the default . The configuration for this middleware. Examines the request to see if it matches a configured directory. If so, a view of the directory contents is returned. Provides a mapping between file extensions and MIME types. Creates a new provider with a set of default mappings. Creates a lookup engine using the provided mapping. It is recommended that the IDictionary instance use StringComparer.OrdinalIgnoreCase. The cross reference table of file extensions and content-types. Given a file path, determine the MIME type A file path The resulting MIME type True if MIME type could be determined Generates an HTML view for a directory. Generates an HTML view for a directory. Used to look up MIME types given a file path Given a file path, determine the MIME type A file path The resulting MIME type True if MIME type could be determined Generates the view for a directory Generates the view for a directory. Implementers should properly handle HEAD requests. Implementers should set all necessary response headers (e.g. Content-Type, Content-Length, etc.). Options common to several middleware components Defaults to all request paths. The request path that maps to static resources The file system used to locate resources Options common to several middleware components Creates an new instance of the SharedOptionsBase. Options common to several middleware components The relative request path that maps to static resources. The file system used to locate resources Defines *all* the logger messages produced by static files No formatter provided. No formatter provided. Index of Index of Last Modified Last Modified Modified Modified Name Name Size Size The list of files in the given directory. Column headers are listed in the first row. The list of files in the given directory. Column headers are listed in the first row. Enables serving static files for a given request path Creates a new instance of the StaticFileMiddleware. The next middleware in the pipeline. The used by this middleware. The configuration options. An instance used to create loggers. Processes a request to determine if it matches a known file, and if so, serves it. Contains information about the request and the file that will be served in response. The request and response information. The file to be served. Extension methods for the DefaultFilesMiddleware Enables default file mapping on the current path Enables default file mapping for the given request path The relative request path. Enables default file mapping with the given options Options for selecting default file names. Configuration for the DefaultFilesMiddleware. Configuration for the DefaultFilesMiddleware. An ordered list of file names to select by default. List length and ordering may affect performance. Extension methods for the DirectoryBrowserMiddleware Enable directory browsing on the current path Enables directory browsing for the given request path The relative request path. Enable directory browsing with the given options Directory browsing options Enabled directory browsing for all request paths Enabled directory browsing all request paths The component that generates the view. Extension methods that combine all of the static file middleware components: Default files, directory browsing, send file, and static files Enable all static file middleware (except directory browsing) for the current request path in the current directory. Enable all static file middleware on for the current request path in the current directory. Should directory browsing be enabled? Enables all static file middleware (except directory browsing) for the given request path from the directory of the same name The relative request path. Enable all static file middleware with the given options Options for all of the static file middleware components Creates a combined options class for all of the static file middleware components. Options for configuring the StaticFileMiddleware. Options for configuring the DirectoryBrowserMiddleware. Options for configuring the DefaultFilesMiddleware. Directory browsing is disabled by default. Default files are enabled by default. Extension methods for the StaticFileMiddleware Enables static file serving for the current request path Enables static file serving for the given request path The relative request path. Enables static file serving with the given options Options for serving static files Defaults to all request paths Defaults to all request paths Used to map files to content-types. The default content type for a request if the ContentTypeProvider cannot determine one. None is provided by default, so the client must determine the format themselves. http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7 If the file is not a recognized content-type should it be served? Default: false. Called after the status code and headers have been set, but before the body has been written. This can be used to add or change the response headers. Provides a parser for the Range Header in an . Returns the normalized form of the requested range if the Range Header in the is valid. The associated with the request. The associated with the given . The total length of the file representation requested. The . A boolean value which represents if the contain a single valid range request. A which represents the normalized form of the range parsed from the or null if it cannot be normalized. If the Range header exists but cannot be parsed correctly, or if the provided length is 0, then the range request cannot be satisfied (status 416). This results in (true,null) return values. Extension methods for adding directory browser services. Adds directory browser middleware services. The to add services to. The so that additional calls can be chained.