SendFileMiddleware Class
This middleware provides an efficient fallback mechanism for sending static files when the server does not natively support such a feature. The caller is responsible for setting all headers in advance. The caller is responsible for performing the correct impersonation to give access to the file.
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
| Name | Description | |
|---|---|---|
![]() | SendFileMiddleware(Func<IDictionary<String^, Object^>^, Task^>^) | Creates a new instance of the SendFileMiddleware. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Invoke(IDictionary<String^, Object^>^) | Adds the sendfile.SendAsync Func to the request environment, if not already present. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:

