FolkerKinzel.MimeTypes 2.0.0-beta.1

Prefix Reserved
This is a prerelease version of FolkerKinzel.MimeTypes.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FolkerKinzel.MimeTypes --version 2.0.0-beta.1                
NuGet\Install-Package FolkerKinzel.MimeTypes -Version 2.0.0-beta.1                
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="FolkerKinzel.MimeTypes" Version="2.0.0-beta.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FolkerKinzel.MimeTypes --version 2.0.0-beta.1                
#r "nuget: FolkerKinzel.MimeTypes, 2.0.0-beta.1"                
#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 FolkerKinzel.MimeTypes as a Cake Addin
#addin nuget:?package=FolkerKinzel.MimeTypes&version=2.0.0-beta.1&prerelease

// Install FolkerKinzel.MimeTypes as a Cake Tool
#tool nuget:?package=FolkerKinzel.MimeTypes&version=2.0.0-beta.1&prerelease                

GitHub

.NET library that supports the work with Internet Media Types ("MIME Types").

Project Reference and Release Notes

The library contains:

  • readonly struct MimeType: Represents a MIME type ("Internet Media Type") according to RFC 2045, RFC 2046 and RFC 2184. The struct can be created automatically from a file type extension or parsed from an Internet Media Type string or a ReadOnlyMemory<Char>.
  • The MimeType struct is able
    • to retrieve an appropriate file type extension for its content automatically,
    • to serialize its content as an Internet Media Type string according to the standards,
    • to compare its content with other Internet Media Types for equality.
  • The class MimeTypeBuilder offers a fluent API to build MimeType instances from scratch.
  • The FormattingOptions enum allows a featured string serialization of MimeType instances.

The library is designed to support performance and small heap allocation.

See code examples at GitHub

Version History

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FolkerKinzel.MimeTypes:

Package Downloads
FolkerKinzel.DataUrls

.NET library that supports working with "data" URLs (RFC 2397)

FolkerKinzel.Uris

.NET library that supports working with "data" URLs (RFC 2397)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.4.2 91 11/24/2024
5.4.1 202 11/18/2024
5.4.0 144 11/14/2024
5.3.1 2,993 10/6/2024
5.3.0 4,044 7/21/2024
5.3.0-beta.1 56 7/16/2024
5.2.1 4,475 6/2/2024
5.2.1-beta.3 75 5/22/2024
5.2.1-beta.2 53 5/20/2024
5.2.1-beta.1 56 5/18/2024
5.2.0 825 5/4/2024
5.2.0-beta.1 92 4/28/2024
5.1.2 1,629 4/10/2024
5.1.1 1,138 3/10/2024
5.1.0 389 11/26/2023
5.0.4 2,885 11/5/2023
5.0.3 200 10/27/2023
5.0.2 1,848 10/18/2023
5.0.1 238 9/30/2023
5.0.0 132 9/28/2023
4.0.4 183 9/24/2023
4.0.3 130 9/21/2023
4.0.2 133 9/19/2023
4.0.1 258 8/10/2023
4.0.0 164 8/7/2023
4.0.0-rc.4 98 7/28/2023
4.0.0-rc.3 87 7/28/2023
4.0.0-rc.2 92 7/27/2023
3.0.0-beta.1 106 7/23/2023
2.0.0-beta.5 105 7/23/2023
2.0.0-beta.3 96 7/22/2023
2.0.0-beta.2 91 7/20/2023
2.0.0-beta.1 66 7/20/2023
1.0.0-beta.4 5,925 1/21/2022
1.0.0-beta.3 149 1/3/2022
1.0.0-beta.2 162 9/8/2021
1.0.0-beta.1 143 8/30/2021
1.0.0-alpha.3 165 8/16/2021
1.0.0-alpha.2 153 8/11/2021
1.0.0-alpha.1 166 8/9/2021