CloudYxt.Api
2.0.0
See the version list below for details.
dotnet add package CloudYxt.Api --version 2.0.0
NuGet\Install-Package CloudYxt.Api -Version 2.0.0
<PackageReference Include="CloudYxt.Api" Version="2.0.0" />
paket add CloudYxt.Api --version 2.0.0
#r "nuget: CloudYxt.Api, 2.0.0"
// Install CloudYxt.Api as a Cake Addin #addin nuget:?package=CloudYxt.Api&version=2.0.0 // Install CloudYxt.Api as a Cake Tool #tool nuget:?package=CloudYxt.Api&version=2.0.0
云享通.Net Core针对WEBAPI常规操作库。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CloudYxt.Models (>= 1.1.7)
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
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 |
---|---|---|
4.1.3 | 71 | 11/14/2024 |
4.1.2 | 68 | 11/13/2024 |
4.1.1 | 78 | 10/21/2024 |
4.0.3 | 120 | 5/17/2024 |
4.0.1 | 119 | 5/16/2024 |
4.0.0 | 98 | 5/15/2024 |
3.3.4 | 126 | 2/29/2024 |
3.3.1 | 178 | 7/31/2023 |
3.3.0 | 153 | 7/19/2023 |
3.2.1 | 158 | 6/29/2023 |
3.2.0 | 144 | 6/28/2023 |
3.1.1 | 141 | 5/6/2023 |
3.1.0 | 245 | 1/31/2023 |
3.0.1 | 430 | 7/25/2022 |
3.0.0 | 461 | 7/14/2022 |
2.4.8 | 608 | 1/21/2022 |
2.4.7 | 559 | 1/20/2022 |
2.4.6 | 579 | 1/20/2022 |
2.4.5 | 321 | 12/24/2021 |
2.4.4 | 361 | 12/1/2021 |
2.4.3 | 312 | 11/29/2021 |
2.4.2 | 397 | 11/12/2021 |
2.4.1 | 383 | 11/12/2021 |
2.4.0 | 385 | 11/12/2021 |
2.3.3 | 441 | 10/25/2021 |
2.3.2 | 440 | 10/20/2021 |
2.3.1 | 432 | 9/10/2021 |
2.3.0 | 462 | 9/10/2021 |
2.2.1 | 412 | 9/10/2021 |
2.2.0 | 392 | 9/9/2021 |
2.1.0 | 318 | 9/7/2021 |
2.0.0 | 329 | 9/3/2021 |
1.0.1 | 306 | 9/2/2021 |
1.0.0 | 330 | 9/2/2021 |
云享通.Net Core针对WEBAPI常规操作库。
2.0.0
更名ApiMessage属性为ApiMessagePackage
增加ApiMessageLog,其中通用扩展属性字段可使用context.HttpContext.Items["字段名"]传递
例:(注意属性的绑定顺序)
[ApiController]
[ApiMessageLog(ApiName = "myApi")]
[ApiMessagePackage]
public class extController : ControllerBase
{
public void mLogApiSave(ApiMessageLog log)
{
//由用户实现log的存储
}
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