Skip to main content
MimeMapping package icon

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

Total Downloads
25.1M
25,132,303
Published
Jan 20, 2026
Latest stable version

Install

.NET CLI
dotnet add package MimeMapping --version 3.2.0
Package Manager Console
Install-Package MimeMapping -Version 3.2.0
PackageReference
<PackageReference Include="MimeMapping" Version="3.2.0" />

Frameworks

.NETFramework4.6.2 .NETStandard2.0

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.