StaticFileExtensions Class
Extension methods for the StaticFileMiddleware
Namespace: Owin
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Inheritance Hierarchy
System.Object
Owin.StaticFileExtensions
Syntax
public static class StaticFileExtensions
[ExtensionAttribute]
public ref class StaticFileExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type StaticFileExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class StaticFileExtensions
Methods
Name | Description | |
---|---|---|
![]() ![]() |
UseStaticFiles(IAppBuilder) | Enables static file serving for the current request path from the current directory |
![]() ![]() |
UseStaticFiles(IAppBuilder, StaticFileOptions) | Enables static file serving with the given options |
![]() ![]() |
UseStaticFiles(IAppBuilder, String) | Enables static file serving 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