Trivial.Mime 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Trivial.Mime --version 1.0.0                
NuGet\Install-Package Trivial.Mime -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Trivial.Mime" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Trivial.Mime --version 1.0.0                
#r "nuget: Trivial.Mime, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Trivial.Mime as a Cake Addin
#addin nuget:?package=Trivial.Mime&version=1.0.0

// Install Trivial.Mime as a Cake Tool
#tool nuget:?package=Trivial.Mime&version=1.0.0                

Commonly used MIME content types and file extension mapping.

using Trivial.Web;

Constants

  • MimeConstants.Images
  • MimeConstants.Audio
  • MimeConstants.Videos
  • MimeConstants.Documents
  • MimeConstants.Web
  • MimeConstants.Text
  • MimeConstants.Packages

File extension mapping

You can get the MIME by a specific file extension name.

var av1 = MimeConstants.FromFileExtension(".av1");
var pptx = MimeConstants.FromFileExtension(".pptx");
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0 105 6/12/2024
7.2.0 173 11/16/2023
7.1.0 189 5/8/2023
7.0.0 286 1/20/2023
6.6.0 336 11/9/2022
6.5.0 399 6/28/2022
6.4.0 446 4/14/2022
6.3.0 435 3/8/2022
6.2.0 414 1/30/2022
6.1.0 416 1/23/2022
6.0.0 268 1/1/2022
5.2.0 299 12/15/2021
5.1.0 280 12/2/2021
5.0.0 273 11/27/2021
4.0.0 292 11/9/2021
1.0.0 312 8/23/2021