DefaultFilesExtensions Class
Extension methods for the DefaultFilesMiddleware
Namespace: Owin
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Inheritance Hierarchy
System.Object
Owin.DefaultFilesExtensions
Syntax
public static class DefaultFilesExtensions
[ExtensionAttribute]
public ref class DefaultFilesExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DefaultFilesExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class DefaultFilesExtensions
Methods
Name | Description | |
---|---|---|
![]() ![]() |
UseDefaultFiles(IAppBuilder) | Enables default file mapping on the current path from the current directory |
![]() ![]() |
UseDefaultFiles(IAppBuilder, DefaultFilesOptions) | Enables default file mapping with the given options |
![]() ![]() |
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
Return to top