CloudYxt.Api 1.0.1

There is a newer version of this package available.
See the version list below for details.
Install-Package CloudYxt.Api -Version 1.0.1
dotnet add package CloudYxt.Api --version 1.0.1
<PackageReference Include="CloudYxt.Api" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CloudYxt.Api --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CloudYxt.Api, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CloudYxt.Api as a Cake Addin
#addin nuget:?package=CloudYxt.Api&version=1.0.1

// Install CloudYxt.Api as a Cake Tool
#tool nuget:?package=CloudYxt.Api&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

云享通.Net Core针对WEBAPI常规操作库。

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.4.8 8 1/21/2022
2.4.7 11 1/20/2022
2.4.6 10 1/20/2022
2.4.5 97 12/24/2021
2.4.4 125 12/1/2021
2.4.3 110 11/29/2021
2.4.2 184 11/12/2021
2.4.1 165 11/12/2021
2.4.0 181 11/12/2021
2.3.3 223 10/25/2021
2.3.2 235 10/20/2021
2.3.1 222 9/10/2021
2.3.0 227 9/10/2021
2.2.1 214 9/10/2021
2.2.0 169 9/9/2021
2.1.0 102 9/7/2021
2.0.0 114 9/3/2021
1.0.1 107 9/2/2021
1.0.0 111 9/2/2021

云享通.Net Core针对WEBAPI常规操作库。

1.0.1
修复一个类型判断时的BUG

1.0.0:
建立基本处理模型。

[ApiMessage] :数据结果进行messageData包装
[ApiMessageException]:拦截API内报错输出为messageData模式

ApiValidationError:模型验证错误类型
services.Configure<ApiBehaviorOptions>(options =>
{
   options.InvalidModelStateResponseFactory = (context) =>
   {
       var result = context.ModelState.ToMessageResult();
       return result;
   };
});

HttpContext扩展:
remoteRealIp:来源IP
remoteFrom:来源URL
remoteAgent:来源AGENT