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)
Dependencies
net5.0
No dependencies.
No dependencies.
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".