Table of Contents

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 9 and .NET 8

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 Microsoft.Extensions.DependencyInjection.IMvcBuilder interface.

MvcCoreBuilderExtensions

Extension methods for the Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder interface.

YamlSerializationInputFormatter

This class handles deserialization of YAML to objects using YamlFormatter.

YamlSerializationMvcOptionsSetup

A Microsoft.Extensions.Options.ConfigureOptions<TOptions> implementation which will add the YAML serializer formatters to Microsoft.AspNetCore.Mvc.MvcOptions.

YamlSerializationOutputFormatter

This class handles serialization of objects to YAML using YamlFormatter.