StaticFileExtensions Class


Extension methods for the StaticFileMiddleware

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

Inheritance Hierarchy



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


Name Description
System_CAPS_pubmethodSystem_CAPS_static UseStaticFiles(IAppBuilder)

Enables static file serving for the current request path from the current directory

System_CAPS_pubmethodSystem_CAPS_static UseStaticFiles(IAppBuilder, StaticFileOptions)

Enables static file serving with the given options

System_CAPS_pubmethodSystem_CAPS_static 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

Owin Namespace

Return to top