MimeMapping
Constants for (almost) all MIME types and method to determine MIME type from a file name. Contains just over 1000 mime types. The Dictionary is generated from the jshttp/mime-db db.json file. Works similar to .NET's System.Web.MimeMapping.GetMimeMapping. It aggregates data from the following sources: https://www.iana.org/assignments/media-types/media-types.xhtml https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types https://hg.nginx.org/nginx/raw-file/default/conf/mime.types See: https://github.com/jshttp/mime-db#mime-db https://learn.microsoft.com/dotnet/api/system.web.mimemapping.getmimemapping
Install
dotnet add package MimeMapping --version 3.0.0
Install-Package MimeMapping -Version 3.0.0
<PackageReference Include="MimeMapping" Version="3.0.0" />
Frameworks
Dependencies
No declared dependencies.
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.