CloudYxt.Models 3.1.2

dotnet add package CloudYxt.Models --version 3.1.2                
NuGet\Install-Package CloudYxt.Models -Version 3.1.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CloudYxt.Models" Version="3.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CloudYxt.Models --version 3.1.2                
#r "nuget: CloudYxt.Models, 3.1.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CloudYxt.Models as a Cake Addin
#addin nuget:?package=CloudYxt.Models&version=3.1.2

// Install CloudYxt.Models as a Cake Tool
#tool nuget:?package=CloudYxt.Models&version=3.1.2                

云享通.Net Core常用WEBAPI数据类型及MongoDB扩展库,如:MongoDB常用方法、基于MongoDB的对象存储OSS方法,MongoDB索引自维护等。

Product 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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in 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
3.1.2 94 7/24/2024
3.1.1 103 7/22/2024
3.0.7 89 7/18/2024
3.0.6 91 7/15/2024
3.0.5 99 7/5/2024
3.0.4 120 5/31/2024
3.0.2 165 3/19/2024
3.0.1 136 1/30/2024
3.0.0 113 1/25/2024
2.9.0 117 1/19/2024
2.8.0 210 11/23/2023
2.7.0 125 11/23/2023
2.6.0 120 11/23/2023
2.5.0 149 10/23/2023
2.4.0 164 6/25/2023
2.3.0 176 4/26/2023
2.2.1 181 4/23/2023
2.2.0 165 4/21/2023
2.1.1 170 4/19/2023
2.1.0 181 4/13/2023
2.0.0 684 7/14/2022
1.3.0 464 3/21/2022
1.2.9 453 2/28/2022
1.2.8 436 2/25/2022
1.2.7 435 2/25/2022
1.2.6 447 2/24/2022
1.2.5 1,558 12/10/2021
1.2.4 275 12/6/2021
1.2.3 297 12/6/2021
1.2.2 481 12/1/2021
1.2.1 287 12/1/2021
1.2.0 1,032 9/30/2021
1.1.8 356 9/23/2021
1.1.7 1,931 7/15/2021
1.1.6 398 6/7/2021
1.1.5 336 5/27/2021
1.1.4 338 4/12/2021
1.1.3 352 3/30/2021
1.1.2 342 3/29/2021
1.1.1 333 3/29/2021
1.1.0 337 3/29/2021
1.0.17 358 3/15/2021
1.0.16 368 3/12/2021
1.0.15 345 3/5/2021
1.0.14 377 2/23/2021
1.0.13 340 2/18/2021
1.0.12 316 2/1/2021
1.0.11 409 1/22/2021
1.0.10 695 9/28/2020
1.0.9 455 8/26/2020
1.0.8 602 7/20/2020
1.0.7 535 7/9/2020
1.0.6 552 6/24/2020
1.0.5 586 6/16/2020
1.0.4 599 6/12/2020
1.0.3 585 6/12/2020
1.0.2 473 6/12/2020
1.0.1 485 6/12/2020
1.0.0 523 6/12/2020

云享通.Net Core常用WEBAPI数据类型及MongoDB扩展库,如:MongoDB常用方法、基于MongoDB的对象存储OSS方法,MongoDB索引自维护等。

3.1.2
调整初始化运行环境时,mongos的配置作为可选项

3.1.1
增加IMongoDatabaseSessionExt扩展,可设置可过期对象,功能类似Mongodb的ttl过期索引功能,但时间更精确

3.0.7
修复ObjectJsonSerializer对部分非正则格式反序列化误伤的BUG

3.0.6
增加mongoLoggerProvider以方便将日志发送到mongo数据库,例:
IHost host = Host.CreateDefaultBuilder(args)
   .ConfigureLogging((hostingContext, logging) =>
   {
       logging.AddProvider(new mongoLoggerProvider(db, "his_dbRunStatLog_{0:yyyyMM}"));
   })

3.0.5
增加System.Threading.Channels的TryReadBatch方法可批量读取一批元素
增加JsonConvertWithMaxLength.SerializeObject可控制格式化为json字符串的最大长度并尽可能保持json字符串的结构,长度控制优先级依次为对象值的长度(不破坏结构),数组值的长度(不破坏结构),整体字符的长度(破坏结构)

3.0.4
修复ObjectJsonSerializer针对字典类数据如果含有类型函数和正则格式无法反序列化的BUG

3.0.2
升级nuget依赖

3.0.1
修正ObjectJsonSerializer适配IDictionary字典序列化

3.0
升级适配object序列化时可自适应数组序列,如:BsonSerializer.RegisterSerializer(new ObjectJsonSerializer<object>());

2.9
增加BsonDocument和IEnumerable<BsonDocument>快速序列化为T的方法DeserializeTo<T>
升级mongo驱动版本

2.8
增加SplitOrBuilder适配数值型字段的精确匹配

2.7
修复自定义BsonDocument排序的BUG

2.6
增加时间过期索引自维护IndexBuildExpireAfter,修复接收IdatatableRequest的空处理BUG

2.5
增加排序输出支持可以使用自定义BsonDocument排序,如:“{idx:-1,id:-1}”

2.4
调整原有dbExt下的静态扩展方法至MongoDB.Driver命名空间,同时根据功能分离扩展方法至不同的静态类(扩展方法名不变)
将原有的stages参数类型由 IEnumerable<IPipelineStageDefinition> 调整为 PipelineDefinition<BsonDocument, BsonDocument> 以满足不同类型的stages入参

2.3
增加TextJsonToNewtonsoft方法,支持将object中的System.Text.Json序列化对象转化为Newtonsoft对象

2.2.1
mongo数据输出支持IdatatableRequest

2.2.0
增加queryDictRequest的TryGetFilter扩展以方便接收自定义对象参数

2.1.1
修正ObjectJsonSerializer支持null

2.1.0
升级mongo驱动,增加通用的JSON序列化处理器ObjectJsonSerializer,以回避mongo自动序列化动态对象时会出现“_t”、“_v”的问题,按JSON对象处理BsonDocument的序列化,在使用时通过全局注册 BsonSerializer.RegisterSerializer(new ObjectJsonSerializer<T>());,若遇interface对象需序列化,则需先将其实现为class对象,并使用MapTo<from,to>的方法进行赋值

2.0.0
升级包目标为netstandard2.1,升级nuget

1.3.0
升级mongo驱动依赖,增加HttpClient的PostFormString方法

1.2.9
重写DynamicToBsonDocument处理逻辑以提高效率,同时修复单独“_t”的意外结构

1.2.8
依赖包更新

1.2.7
修复DynamicToBsonDocument的BUG

1.2.6
修复DynamicToBsonDocument子属性处理的BUG

1.2.5
增加DynamicToBsonDocument支持Newtonsoft.Json对象

1.2.4
新增PostFormJson:以表单发送数据,接收为JSON对象

1.2.3
调整HttpClient的PostJson和GetJson方法HttpStatusCode非200时也进行异常抛出

1.2.2
增加按时间序列的GetTimeSeqTextRange

1.2.1
增加MongoDB生成ID数组的方法:GetSeqRange,GetSeqXTextRange,GetTimeSeqTextRange

1.2.0
迁移几个基本类型模型至CloudYxt.Base

1.1.8
增加DynamicToBsonDocument支持数组对象

1.1.7
增加一种message类型
调整XWebClient的命名空间和System.Net合并
更新MongoDB驱动支持5.0

1.1.6
升级nuget各组件版本,增加JToken扩展方法

1.1.5
新增DynamicFormObject动态类,以帮助收集动态表单数据和Bson化
dynamic data = new DynamicFormObject();
data.SetPropertyValue(name, value);

1.1.4
增加基础数据类型的Description说明

1.1.3
修复一接口二义性BUG

1.1.2
紧急修复JParse转换问题

1.1.0
增加动态类型转BsonDocument、JsonTag相关方法
T=》DynamicToBsonDocument
T=》DynamicTryToJToken、DynamicTryToJObject、DynamicTryToJArray
增加只校验头部的认证数据包AuthHashDataSimple
将messageResult合并进messageData

1.0.17
丰富HttpClient处理方法

1.0.16
增加HttpClient的同步方法

1.0.15
增加HttpClient的PostJson和GetJson,更新关联包版本

1.0.14
增加XWebClient扩展,可直接发送和接收JSON对象

1.0.13
增加基于GridFS的OSS对象(具备去重和有效期控制)

1.0.12
增加AuthHashData校验数据接口模式

1.0.11
增加强类型messageResult
升级依赖包版本

1.0.10
增加OSS删除和表状态基本信息查询

1.0.9
增加.Net框架读取配置文件的路径兼容性

1.0.8
增加通道可选参数

1.0.7:
更新依赖包版本

1.0.6:
增加MongoDB用户锁定通用算法
增加MongoDB管道的同步处理方法