Namespace Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml
The Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml namespace contains both types and extension methods that complements the Codebelt.Extensions.AspNetCore.Text.Yaml.Formatters namespace while being an addition to the Microsoft.AspNetCore.Mvc namespace. Provides YAML formatters for ASP.NET Core MVC.
Availability: .NET 10 and .NET 9
Complements: Codebelt.Extensions.AspNetCore.Text.Yaml.Formatters namespace 📘
Extension Methods
| Type | Ext | Methods |
|---|---|---|
| IMvcBuilder | ⬇️ | AddYamlFormatters, AddYamlFormattersOptions |
| IMvcCoreBuilder | ⬇️ | AddYamlFormatters, AddYamlFormattersOptions |
Classes
- MvcBuilderExtensions
Extension methods for the IMvcBuilder interface.
- MvcCoreBuilderExtensions
Extension methods for the IMvcCoreBuilder interface.
- YamlSerializationInputFormatter
This class handles deserialization of YAML to objects using YamlFormatter.
- YamlSerializationMvcOptionsSetup
A ConfigureOptions<TOptions> implementation which will add the YAML serializer formatters to MvcOptions.
- YamlSerializationOutputFormatter
This class handles serialization of objects to YAML using YamlFormatter.