DirectoryBrowserExtensions Class

 

Extension methods for the DirectoryBrowserMiddleware

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

Inheritance Hierarchy

System.Object
  Owin.DirectoryBrowserExtensions

Syntax

public static class DirectoryBrowserExtensions
[ExtensionAttribute]
public ref class DirectoryBrowserExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type DirectoryBrowserExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class DirectoryBrowserExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static UseDirectoryBrowser(IAppBuilder)

Enable directory browsing on the current path for the current directory

System_CAPS_pubmethodSystem_CAPS_static UseDirectoryBrowser(IAppBuilder, DirectoryBrowserOptions)

Enable directory browsing with the given options

System_CAPS_pubmethodSystem_CAPS_static UseDirectoryBrowser(IAppBuilder, String)

Enables directory browsing 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