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
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