StaticFileOptions Class
Options for serving static files
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
Microsoft.Owin.StaticFiles.Infrastructure::SharedOptionsBase<T>
Microsoft.Owin.StaticFiles::StaticFileOptions
| Name | Description | |
|---|---|---|
![]() | StaticFileOptions() | Defaults to all request paths in the current physical directory |
![]() | StaticFileOptions(SharedOptions^) | Defaults to all request paths in the current physical directory |
| Name | Description | |
|---|---|---|
![]() | ContentTypeProvider | Used to map files to content-types. |
![]() | DefaultContentType | The default content type for a request if the ContentTypeProvider cannot determine one. None is provided by default, so the client must determine the format themselves. http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7 |
![]() | FileSystem | The file system used to locate resources(Inherited from SharedOptionsBase<T>.) |
![]() | OnPrepareResponse | Called after the status code and headers have been set, but before the body has been written. This can be used to add or change the response headers. |
![]() | RequestPath | The relative request path that maps to static resources.(Inherited from SharedOptionsBase<T>.) |
![]() | ServeUnknownFileTypes | If the file is not a recognized content-type should it be served? Default: false. |
![]() | SharedOptions | Options common to several middleware components(Inherited from SharedOptionsBase<T>.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | 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.



