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.

Showing the top 5 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 2.2, RazorPages and PostgreSQL 11. Targets Linux or Windows as host OS.
A new web development methodology for JavaScript & C# developers. A super fast and very easy to use CMS.
:snowflake: :video_game: Extensible Emulator Frontend written in C# and Javascript
Repository for Shoko Server.

Version History

Version Downloads Last updated 3,937 8/25/2019 5,774 8/9/2019 333,423 11/15/2017 42,441 8/18/2017
0.1.6 8,217 8/3/2017 294 8/7/2017
0.1.5 17,448 2/21/2017
0.1.4 880 11/12/2016
0.1.3 529 11/8/2016
0.1.2 391 11/6/2016
0.1.1 331 11/6/2016
0.1.0 333 11/6/2016