DirectoryBrowserMiddleware Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables directory browsing
public ref class DirectoryBrowserMiddleware
public class DirectoryBrowserMiddleware
type DirectoryBrowserMiddleware = class
Public Class DirectoryBrowserMiddleware
- Inheritance
-
DirectoryBrowserMiddleware
Constructors
DirectoryBrowserMiddleware(RequestDelegate, IHostingEnvironment, HtmlEncoder, IOptions<DirectoryBrowserOptions>) |
Creates a new instance of the SendFileMiddleware. |
DirectoryBrowserMiddleware(RequestDelegate, IHostingEnvironment, IOptions<DirectoryBrowserOptions>) |
Creates a new instance of the SendFileMiddleware. Using Default instance. |
DirectoryBrowserMiddleware(RequestDelegate, IWebHostEnvironment, HtmlEncoder, IOptions<DirectoryBrowserOptions>) |
Creates a new instance of the SendFileMiddleware. |
DirectoryBrowserMiddleware(RequestDelegate, IWebHostEnvironment, IOptions<DirectoryBrowserOptions>) |
Creates a new instance of the SendFileMiddleware. Using Default instance. |
Methods
Invoke(HttpContext) |
Examines the request to see if it matches a configured directory. If so, a view of the directory contents is returned. |