StaticFileExtensions Class

 

Extension methods for the StaticFileMiddleware

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

System::Object
  Owin::StaticFileExtensions

[ExtensionAttribute]
public ref class StaticFileExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticUseStaticFiles(IAppBuilder^)

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

System_CAPS_pubmethodSystem_CAPS_staticUseStaticFiles(IAppBuilder^, StaticFileOptions^)

Enables static file serving with the given options

System_CAPS_pubmethodSystem_CAPS_staticUseStaticFiles(IAppBuilder^, String^)

Enables static file serving for the given request path from the directory of the same name

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: