for simple webapi action result process NuGet Package

use for C# asp.net core web api.
include
1.process to standard format result like {statusCode:200,msg:"success",data:"anydatas"}
2.deal with exception to standard result too like {statusCode:500,msg:'object reference of null..etc',data:null}
3.TextJsonConvert,for use System.Text.Json,like "2017" from front-end to back-end int property "Year".




Got any for simple webapi action result process Question?





Info

Version: 7.0.1
Author(s): bl([email protected])
Last Update: Friday, June 2, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/bailei1987/dotnet
NuGet Url: https://www.nuget.org/packages/BL.WebApi.ResultProcess


Install
Install-Package BL.WebApi.ResultProcess
dotnet add package BL.WebApi.ResultProcess
paket add BL.WebApi.ResultProcess
BL.WebApi.ResultProcess Download (Unzip the "nupkg" after downloading)

net5.0
  • No dependencies.
netcoreapp3.1
  • No dependencies.




STATS

must-have-score

1.5

avg-downloads-per-day

5

days-since-last-release

718