DefaultFilesOptions 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.
Options for selecting default file names.
public ref class DefaultFilesOptions : Microsoft::AspNetCore::StaticFiles::Infrastructure::SharedOptionsBase
public class DefaultFilesOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase
type DefaultFilesOptions = class
inherit SharedOptionsBase
Public Class DefaultFilesOptions
Inherits SharedOptionsBase
- Inheritance
Constructors
| DefaultFilesOptions() |
Configuration for the DefaultFilesMiddleware. |
| DefaultFilesOptions(SharedOptions) |
Configuration for the DefaultFilesMiddleware. |
Properties
| DefaultFileNames |
An ordered list of file names to select by default. List length and ordering may affect performance. |
| FileProvider |
The file system used to locate resources (Inherited from SharedOptionsBase) |
| 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) |