cuno92 / MinimalApiPlayground

A place I'm trying out the new ASP.NET Core minimal APIs features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal API Playground

A place I'm trying out the new ASP.NET Core minimal APIs for hosting and HTTP APIs.

Dependencies

Code in this repo depends on the very latest bits (not even in official previews). If you want to try it out, grab the latest .NET 6 SDK installer.

Validation

First-class support for validation as part of the new minimal APIs will unfortunately not land in .NET 6. However it's fairly straightforward to wire up the validation features found in System.ComponentModel.Validation through use of a helper library (like the example this repo uses), or by using an existing validation library like FluentValidation.

About

A place I'm trying out the new ASP.NET Core minimal APIs features.


Languages

Language:C# 100.0%