Helper methods to provide compile-time checks of typed ActionResult return type. NuGet Package

Adds helper methods overrides to AspNetCore's ControllerBase `Ok`, `Created`, ..

that
allow compile-time checks that what is returned matches the return type in
`Task<ActionResult<MyReturnType>>`.




Got any Helper methods to provide compile-time checks of typed ActionResult return type. Question?





Info

Version: 1.0.0
Author(s): Marcel Gosselin
Last Update: Monday, May 25, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/MarcelGosselin/AspNetCore.TypedActionResults
NuGet Url: https://www.nuget.org/packages/AspNetCore.TypedActionResults


Install
Install-Package AspNetCore.TypedActionResults
dotnet add package AspNetCore.TypedActionResults
paket add AspNetCore.TypedActionResults
AspNetCore.TypedActionResults Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

1404