StaticFileMiddleware Class
Enables serving static files for a given request path
Namespace: Microsoft.Owin.StaticFiles
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.StaticFiles.StaticFileMiddleware
Syntax
public class StaticFileMiddleware
public ref class StaticFileMiddleware
type StaticFileMiddleware = class end
Public Class StaticFileMiddleware
Constructors
Name | Description | |
---|---|---|
![]() |
StaticFileMiddleware(Func<IDictionary<String, Object>, Task>, StaticFileOptions) | Creates a new instance of the StaticFileMiddleware. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Invoke(IDictionary<String, Object>) | Processes a request to determine if it matches a known file, and if so, serves it. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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