Skip to content

Khitiara/MediatingApis

Repository files navigation

MediatingApis

Quick and simple library with extensions to use ASP.NET Core Minimal APIs with martinothamar/Mediator, inspired by this video from Nick Chapsas.

Contains a single marker interface, IHttpRequest, to mark suitable request types, and a number of extensions on IEndpointRouteBuilder for common HTTP verbs and use cases. Request types can use the standard minimal api binding attributes on member properties to customize binding behavior, as the request object is annotated with [AsParameters].

The mediated request handler is expected to return standard results as with normal minimal api code.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages