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
System_CAPS_pubmethod FileServerOptions()

Creates a combined options class for all of the static file middleware components.

Properties

Name Description
System_CAPS_pubproperty DefaultFilesOptions

Options for configuring the DefaultFilesMiddleware.

System_CAPS_pubproperty DirectoryBrowserOptions

Options for configuring the DirectoryBrowserMiddleware.

System_CAPS_pubproperty EnableDefaultFiles

Default files are enabled by default.

System_CAPS_pubproperty EnableDirectoryBrowsing

Directory browsing is disabled by default.

System_CAPS_pubproperty FileSystem

The file system used to locate resources(Inherited from SharedOptionsBase<T>.)

System_CAPS_pubproperty RequestPath

The relative request path that maps to static resources.(Inherited from SharedOptionsBase<T>.)

System_CAPS_protproperty SharedOptions

Options common to several middleware components(Inherited from SharedOptionsBase<T>.)

System_CAPS_pubproperty StaticFileOptions

Options for configuring the StaticFileMiddleware.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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