Amido.Net.Http.Formatting.YamlMediaTypeFormatter
1.0.0-prerelease43
See the version list below for details.
dotnet add package Amido.Net.Http.Formatting.YamlMediaTypeFormatter --version 1.0.0-prerelease43
NuGet\Install-Package Amido.Net.Http.Formatting.YamlMediaTypeFormatter -Version 1.0.0-prerelease43
<PackageReference Include="Amido.Net.Http.Formatting.YamlMediaTypeFormatter" Version="1.0.0-prerelease43" />
paket add Amido.Net.Http.Formatting.YamlMediaTypeFormatter --version 1.0.0-prerelease43
#r "nuget: Amido.Net.Http.Formatting.YamlMediaTypeFormatter, 1.0.0-prerelease43"
// Install Amido.Net.Http.Formatting.YamlMediaTypeFormatter as a Cake Addin #addin nuget:?package=Amido.Net.Http.Formatting.YamlMediaTypeFormatter&version=1.0.0-prerelease43&prerelease // Install Amido.Net.Http.Formatting.YamlMediaTypeFormatter as a Cake Tool #tool nuget:?package=Amido.Net.Http.Formatting.YamlMediaTypeFormatter&version=1.0.0-prerelease43&prerelease
MediaTypeFormatter allowing the use of YAML (YAML Ain't Markup Language) as a the MIME-Type or content-type in ASP.NET Web API. Both serialization and deserialization are supported allowing web services to both emit and accept YAML in place of XML or JSON.
The underlying YAML parsing and rendering function is provided by Antoine Aubry's excellent YamlDotNet, as such it is possible to configure the serialization and deserialization process through a series of public properties on the MediaTypeFormatter.
YAML is described as "a human friendly data serialization standard for all programming languages". Like XML, it allows to represent about any kind of data in a portable, platform-independent format. Unlike XML, it is "human friendly", which means that it is easy for a human to read or produce a valid YAML document.
MediaTypeFormatters are .NET Classes that allow you to accept and emit different media types using ASP.NET Web API. Out of the box Web API includes support for JSON, BSON and XML, additional Media Types can be added through MediaTypeFormatters.
YamlMediaTypeFormatter is released under the Apache 2.0 license, which entitles you to freely use the product in both commercial, non-commercial and open source projects provided the license is distributed with the product. YamlDotNet is released under the MIT License which which has similar provisions for use in any type of software.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.0
- Microsoft.AspNet.WebApi.Client (>= 4.0.30506)
- WebActivatorEx (>= 2.0.6)
- YamlDotNet (>= 3.5.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial Release.