DefaultFilesExtensions Class


Extension methods for the DefaultFilesMiddleware

Namespace:   Owin
Assembly:  Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)

Inheritance Hierarchy



public static class DefaultFilesExtensions
public ref class DefaultFilesExtensions abstract sealed 
type DefaultFilesExtensions = class end
Public NotInheritable Class DefaultFilesExtensions


Name Description
System_CAPS_pubmethodSystem_CAPS_static UseDefaultFiles(IAppBuilder)

Enables default file mapping on the current path from the current directory

System_CAPS_pubmethodSystem_CAPS_static UseDefaultFiles(IAppBuilder, DefaultFilesOptions)

Enables default file mapping with the given options

System_CAPS_pubmethodSystem_CAPS_static UseDefaultFiles(IAppBuilder, String)

Enables default file mapping for the given request path from the directory of the same name

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

Owin Namespace

Return to top