FileExtensionContentTypeProvider Class
Provides a mapping between file extensions and MIME types.
Assembly: Microsoft.Owin.StaticFiles (in Microsoft.Owin.StaticFiles.dll)
| Name | Description | |
|---|---|---|
![]() | FileExtensionContentTypeProvider() | Creates a new provider with a set of default mappings. |
![]() | FileExtensionContentTypeProvider(IDictionary<String^, String^>^) | Creates a lookup engine using the provided mapping. It is recommended that the IDictionary instance use StringComparer.OrdinalIgnoreCase. |
| Name | Description | |
|---|---|---|
![]() | Mappings | The cross reference table of file extensions and content-types. |
| 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.) |
![]() | TryGetContentType(String^, String^) | Given a file path, determine the MIME type |
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:


