Source of different contentTypes with extensions
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Dec 11, 2022
$ dotnet add package MimeTypesRepoAlmost all possible mimeType are defined as properties, contentType and extension are present in these properties
https://www.nuget.org/packages/MimeTypesRepo
Install MimeType Nuget and use MimeTypes class
Call the extension or contentType you want
var jsonContentType = MimeTypes.Json.ContentType;
var jsonExtension = MimeTypes.Json.Extension;
MIT � Richard McRichface