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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for