DirectoryBrowserOptions 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.
Directory browsing options
public ref class DirectoryBrowserOptions : Microsoft::AspNetCore::StaticFiles::Infrastructure::SharedOptionsBase
public class DirectoryBrowserOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase
type DirectoryBrowserOptions = class
inherit SharedOptionsBase
Public Class DirectoryBrowserOptions
Inherits SharedOptionsBase
- Inheritance
Constructors
DirectoryBrowserOptions() |
Enabled directory browsing for all request paths |
DirectoryBrowserOptions(SharedOptions) |
Enabled directory browsing all request paths |
Properties
FileProvider |
The file system used to locate resources (Inherited from SharedOptionsBase) |
Formatter |
The component that generates the view. |
RedirectToAppendTrailingSlash |
Indicates whether to redirect to add a trailing slash at the end of path. Relative resource links may require this. (Inherited from SharedOptionsBase) |
RequestPath |
The relative request path that maps to static resources. This defaults to the site root '/'. (Inherited from SharedOptionsBase) |
SharedOptions |
Options common to several middleware components (Inherited from SharedOptionsBase) |