FileServerOptions Class
Options for all of the static file middleware components
Namespace: Microsoft.Owin.StaticFiles
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.StaticFiles.Infrastructure.SharedOptionsBase<T>
Microsoft.Owin.StaticFiles.FileServerOptions
Syntax
public class FileServerOptions : SharedOptionsBase<FileServerOptions>
public ref class FileServerOptions : SharedOptionsBase<FileServerOptions^>
type FileServerOptions =
class
inherit SharedOptionsBase<FileServerOptions>
end
Public Class FileServerOptions
Inherits SharedOptionsBase(Of FileServerOptions)
Constructors
Name | Description | |
---|---|---|
![]() |
FileServerOptions() | Creates a combined options class for all of the static file middleware components. |
Properties
Name | Description | |
---|---|---|
![]() |
DefaultFilesOptions | Options for configuring the DefaultFilesMiddleware. |
![]() |
DirectoryBrowserOptions | Options for configuring the DirectoryBrowserMiddleware. |
![]() |
EnableDefaultFiles | Default files are enabled by default. |
![]() |
EnableDirectoryBrowsing | Directory browsing is disabled by default. |
![]() |
FileSystem | The file system used to locate resources(Inherited from SharedOptionsBase<T>.) |
![]() |
RequestPath | The relative request path that maps to static resources.(Inherited from SharedOptionsBase<T>.) |
![]() |
SharedOptions | Options common to several middleware components(Inherited from SharedOptionsBase<T>.) |
![]() |
StaticFileOptions | Options for configuring the StaticFileMiddleware. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Owin.StaticFiles Namespace
Return to top