DirectoryBrowserMiddleware Class

 

Enables directory browsing

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.StaticFiles.DirectoryBrowserMiddleware

Syntax

public class DirectoryBrowserMiddleware
public ref class DirectoryBrowserMiddleware 
type DirectoryBrowserMiddleware = class end
Public Class DirectoryBrowserMiddleware

Constructors

Name Description
System_CAPS_pubmethod DirectoryBrowserMiddleware(Func<IDictionary<String, Object>, Task>, DirectoryBrowserOptions)

Creates a new instance of the SendFileMiddleware.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(IDictionary<String, Object>)

Examines the request to see if it matches a configured directory. If so, a view of the directory contents is returned.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.Owin.StaticFiles Namespace

Return to top