Constants for (almost) all MIME types and method to determine MIME type from a file name. Contains just over 1000 mime types.

Generated from the Apache server mime.types file and the H5PB nginx mime.types file. Works similar to .NET's System.Web.MimeMapping.GetMimeMapping.


There is a newer version of this package available.
See the version list below for details.
Install-Package MimeMapping -Version
dotnet add package MimeMapping --version
<PackageReference Include="MimeMapping" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MimeMapping --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MimeMapping,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MimeMapping as a Cake Addin
#addin nuget:?package=MimeMapping&version=

// Install MimeMapping as a Cake Tool
#tool nuget:?package=MimeMapping&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

  • .NETStandard 1.1

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (43)

Showing the top 5 NuGet packages that depend on MimeMapping:

Package Downloads
Package Description
ClientLibrary for Squidex Headless CMS
Package Description
The core library of the open-source and free platform WebVella ERP. It allows a quick and painless creation of business web applications.
Integra los datos de las aduanas con los diferentes LRP

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on MimeMapping:

Repository Stars
API Support for your favorite torrent trackers
Free and open-source pluggable ERP and CRM software based on ASP.NET Core 5, RazorPages and PostgreSQL 13. Targets Linux or Windows as host OS.
This repo contains benchmarks used for testing the performance of all .NET Runtimes
A new web development methodology for JavaScript & C# developers. A super fast and very easy to use CMS.
Repository for Shoko Server.

Version History

Version Downloads Last updated 77,288 1/22/2021 19,596 1/14/2021 455,723 6/18/2020 357,534 12/5/2019 1,003 12/3/2019 119,075 9/23/2019 55,291 8/25/2019 21,601 8/9/2019 764,018 11/15/2017 90,801 8/18/2017
0.1.6 20,133 8/3/2017 589 8/7/2017
0.1.5 22,516 2/21/2017
0.1.4 1,381 11/12/2016
0.1.3 839 11/8/2016
0.1.2 735 11/6/2016
0.1.1 622 11/6/2016
0.1.0 675 11/6/2016