Senparc.CO2NET 2.1.7.3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 2.0 .NET Framework 4.6.2
dotnet add package Senparc.CO2NET --version 2.1.7.3
NuGet\Install-Package Senparc.CO2NET -Version 2.1.7.3
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="Senparc.CO2NET" Version="2.1.7.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Senparc.CO2NET --version 2.1.7.3
#r "nuget: Senparc.CO2NET, 2.1.7.3"
#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 Senparc.CO2NET as a Cake Addin
#addin nuget:?package=Senparc.CO2NET&version=2.1.7.3

// Install Senparc.CO2NET as a Cake Tool
#tool nuget:?package=Senparc.CO2NET&version=2.1.7.3

Senparc.CO2NET 公共基础库

Senparc.CO2NET 开源项目:
https://github.com/Senparc/Senparc.CO2NET

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (40)

Showing the top 5 NuGet packages that depend on Senparc.CO2NET:

Package Downloads
Senparc.Weixin The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

微信 SDK - Senparc.Weixin SDK 基础模块 Senparc.Weixin SDK 开源项目: https://github.com/JeffreySu/WeiXinMPSDK

Senparc.NeuChar The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

NeuChar SDK 跨平台信息交互标准

Senparc.CO2NET.APM The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Senparc.CO2NET.APM 应用性能管理

Senparc.CO2NET.AspNet The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Senparc.CO2NET.AspNet 库 Senparc.CO2NET 开源项目: https://github.com/Senparc/Senparc.CO2NET

Senparc.CO2NET.Cache.Redis The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

微信公众账号 - Redis 模块 Senparc.Weixin SDK 开源项目: https://github.com/JeffreySu/WeiXinMPSDK

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Senparc.CO2NET:

Repository Stars
JeffreySu/WeiXinMPSDK
微信全平台 SDK Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 6.0、.NET 7.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
JeffreySu/WechatVideoCourse
《微信公众号+小程序快速开发》视频教程课件及代码
Senparc/NeuChar
Senparc.NeuChar 跨平台信息交互标准
Version Downloads Last updated
2.1.7.3 7,747 1/28/2023
2.1.7.2 6,243 1/12/2023
2.1.7.1 11,022 1/10/2023
2.1.4.2 4,188 12/20/2022
2.1.4.1 922 12/19/2022
2.1.3 13,145 11/15/2022
2.1.2 55,118 7/21/2022
2.1.1.1 756 7/14/2022
2.1.1 10,805 5/30/2022
2.1.0 87,085 4/3/2022
2.0.5.4 8,038 4/1/2022
2.0.3 53,017 2/8/2022
2.0.1 46,689 2/5/2022
2.0.0 32,811 11/12/2021
1.6.0 17,901 11/6/2021
1.5.2-preview4 3,746 9/11/2021
1.5.2-preview3 1,542 8/30/2021
1.5.0-preview3 24,347 7/22/2021
1.5.0-preview2 304 7/22/2021
1.5.0-preview1 2,039 7/14/2021
1.5.0-beta1 547 7/5/2021
1.4.400 110,371 6/8/2021
1.4.300.3-preview2.net6p.3... 1,917 4/26/2021
1.3.300 27,320 4/13/2021
1.3.200 167,258 8/10/2020
1.3.110 15,647 5/30/2020
1.3.104.1 4,068 4/22/2020
1.3.104 157,018 3/15/2020
1.3.103 136,235 3/1/2020
1.3.102 4,621 2/28/2020
1.3.101 16,089 2/20/2020
1.1.100 1,090 2/20/2020
1.1.100-preview2 5,419 2/13/2020
1.1.100-preview1 5,546 1/27/2020
1.0.103 127,334 11/18/2019
1.0.102 87,104 10/14/2019
1.0.102-preview7.1.1 531 10/9/2019
1.0.102-preview7 951 10/7/2019
1.0.102-preview2 1,319 10/2/2019
1.0.101 20,780 9/28/2019
1.0.100 13,678 9/24/2019
0.9.1 9,920 9/19/2019
0.9.0 51,915 9/15/2019
0.8.10 11,244 9/11/2019
0.8.9 21,914 8/22/2019
0.8.9-preivew1 458 8/17/2019
0.8.5 1,241 8/9/2019
0.8.4 4,838 7/30/2019
0.8.3 16,995 7/6/2019
0.8.2 101,954 6/6/2019
0.8.2-preview1 593 6/3/2019
0.8.1-preview1 7,089 5/23/2019
0.8.0-preview1 1,564 5/23/2019
0.7.3.1-preview2 715 5/21/2019
0.7.3.1-preview1 1,383 5/21/2019
0.7.3-preview1 1,588 5/21/2019
0.7.2.1 1,247 5/20/2019
0.7.1 14,345 5/13/2019
0.7.1-preview3 624 5/7/2019
0.7.0-preview3 4,640 4/29/2019
0.6.1-preview2 1,783 4/28/2019
0.6.1-preview1 2,490 4/27/2019
0.6.0-preview1 5,998 4/17/2019
0.5.2 114,011 1/22/2019
0.5.2-preview2 576 1/21/2019
0.5.2-preview1 1,844 1/18/2019
0.5.1.1 4,588 1/16/2019
0.5.1 13,975 1/8/2019
0.5.0 1,503 1/8/2019
0.4.4 6,506 1/3/2019
0.4.4-preview2 3,143 12/28/2018
0.4.3-preview6 1,815 12/27/2018
0.4.3-preview3 2,236 12/26/2018
0.4.3-preview2 1,945 12/26/2018
0.4.3-preview1 693 12/26/2018
0.4.2 6,593 12/26/2018
0.4.1 13,728 12/18/2018
0.3.0.2 48,239 11/18/2018
0.2.17-preview1 542 11/16/2018
0.2.16 83,111 10/11/2018
0.2.15 12,434 10/10/2018
0.2.14 29,141 9/29/2018
0.2.11 1,411 9/27/2018
0.2.10 33,758 9/1/2018
0.2.8.2 16,030 8/25/2018
0.2.7 1,207 8/19/2018
0.2.6 14,161 8/2/2018
0.2.4 3,763 7/28/2018
0.2.3 4,200 7/21/2018
0.2.0 7,046 7/14/2018
0.1.11 6,106 7/7/2018
0.1.8 1,169 7/6/2018
0.1.7 1,781 7/5/2018
0.1.6.1 4,467 7/4/2018
0.1.6 1,096 7/4/2018
0.1.3 1,752 6/23/2018
0.1.2 1,516 6/21/2018
0.1.1 976 6/21/2018
0.1.0 1,915 6/14/2018

v0.1.0 构建基础代码,从 Senparc.Weixin 分离公共代码
v0.1.1 优化代码,单元测试接近100%覆盖
v0.1.2 添加 IDomainExtensionCacheStrategy.RegisterCacheStrategyDomain() 方法
v0.1.3 添加 EntityUtility.FillSystemType()方法对 Int32[] 和 Int64[] 的处理
v0.1.4 添加 SenparcSetting 全局配置属性
v0.1.5 RegisterServiceExtension.AddSenparcGlobalServices() 方法可自动获取 SenparcSetting 全局设置
v0.1.6 解决 XXE 漏洞,继承自 XmlDocument 对象,自动将 XmlResolver 设为 null
v0.1.6.1 添加 Register.UseSenparcGlobal() 方
v0.1.7 扩展 ReflectionHelper.GetStaticMember() 方法
v0.1.8 .net core 下的 RegisterService.Start() 方法中,env 可以传入 null,以便在控制台等环境中完成注册
v0.1.9
1、RegisterService 取消 public 的构造函数,统一使用 RegisterService.Start() 初始化
2、重构 Register.UseSenparcGlobal() 方法,承担扩展缓存扫描功能
3、添加 UnregisteredDomainCacheStrategyException 异常类型
4、 .net framework 和 .net core 版本统一强制在构造函数中要求提供 SenparcSetting 参数
v0.1.10 调整 SenparcSetting 参数,将分布式缓存连接信息归入到 SenparcSetting 中
v0.1.11 提供 SenparcSetting.BuildFromWebConfig() 方法

v0.2.0 缓存策略提供超时设置接口
v0.2.1 “当前扩展缓存策略没有进行注册”异常信息提供更加详细的缓存类型信息
v0.2.2 RequestExtension 添加对 NETSTANDARD2_0 的支持
v0.2.3 优化 RequestExtension.AbsoluteUri() 方法的输出结果
v0.2.4
1、添加 CacheException 缓存异常类型
2、添加对 IMemoryCache 的未设置提示
3、优化 UnregisteredDomainCacheStrategyException,使用 CacheException 作为基类
v0.2.5 优化 SenparcID,其中所有方法支持 .net standard 2.0
v0.2.6 增加 DateTimeHelper.GetUnixDateTime() 方法,标记过期 GetWeixinDateTime() 方法
v0.2.7 添加 ServerUtility
v0.2.8 添加 SenparcDI.GetIServiceProvider() 方法,以支持其他依赖注入框架
v0.2.9
1、优化 Config.RootDictionaryPath 方法,可自动获取默认值
2、添加 SerializerHelper.GetObject(this string jsonString, Type type) 方法
v0.2.10 ObjectExtensions.ToJson() 方法提供 indented 方法,支持缩进格式
v0.2.11 修复 .NET Core 下模拟表单 Post 参数无效的问题
v0.2.14 ToJson() 方法优化
v0.2.15 Post 方法添加 headerAddition参数
v0.2.17 启用 SystemTime.Now,方便单元测试或紧急情况下改动系统当前时间
v0.2.18 支持 Senparc.CO2NET.APM
v0.3.0 升级 SenparcTrace,使用队列
v0.3.1 更新 RequestUtility.GetQueryString() 方法
v0.4.0 使用 .NETStandard2.0 统一支持 .NET Core,放弃对 .NET Core 1.x 的单独适配
v0.4.1 为 UrlEncode() 和 UrlDecode() 方法添加在 .net framework 环境下的编码类型选择
v0.4.2 优化 ServerUtility 类中方法在 docker 或 linux 环境下的路径识别
v0.4.3 使用 DateTimeOffset 取代 DateTime
v0.4.4 提供 SenparcTrace.RecordAPMLog 参数RequestUtility.Post.cs
v0.5.0 提供对 .NET Core Console 的全面支持
v0.5.1 ToJson() 方法添加 jsonSerializerSettings 参数
v0.5.1.1 添加 Sex.未设置 枚举值
v0.5.2 添加 SenparcDI.GetRequiredService() 方法,提供线程内独立 ServiceProvider 实例
v0.6.0 提供缓存异步接口
v0.6.1 完善 SystemTime,添加 NowTicks 属性
v0.7.0 优化 HttpClient,重构 RequestUtility(包括 Post 和 Get),引入 HttpClientFactory 机制
v0.7.1
1、添加 NowDiff 属性
2、添加 DayOfWeekString、DILifecycleType 配置和枚举
v0.7.1
1、添加 NowDiff 属性
2、添加 DayOfWeekString、DILifecycleType 配置和枚举
3、修复:.NET 4.5 下 Post 方法未指定 content-type
v0.7.2.1 解决 GetHttpClientHandler() 方法中 cookieContainer 为 null 可能发生的异常
v0.7.3
1、添加 HttpClientFactory 多证书方案
2、使用 .ConfigureAwait(false) 避免异步锁死的情况
v0.8
1、停止提供对 .NET 3.5/4.0 的支持
2、使用异步方法提升并发效率
v0.8.3 添加 Stream 参数的 GetMD5() 方法
v0.8.4 HttpUtility.HttpPost_Common_NetCore 所调用的额 CreateFileContent 取消对 fileName 参数的 UrlEncode 编码
v0.8.5 解决 .NET Framework 4.5 下文件上传的 ContentType 设置问题
v0.8.6 添加 FileHelper.FileInUse() 方法,用于判断文件是否正在被占用
v0.8.7 RequestUtility.Post() 方法添加新功能:使用文件流模拟 Form 表单提交
v0.8.8 改进 SenparcTrace 日志记录效率,提供异步方法处理
v0.8.9 提供 AutoUnlockLogFile 参数,并针对日志文件可能被占用的情况尝试自动解锁。
v0.8.10 提供 Config.HostingEnvironment 属性
v0.9.0 添加 SystemTime.UtcDateTime 属性
v0.9.1 提供带符号的 nuget 包(.snuget)
v1.0.100 支持 .NET Core 3.0
v1.0.101 RequestUtility.GetRequestMemoryStream() 增加对 .NET Core 3.0 AllowSynchronousIO 的设置
v1.0.102
1、提供新的 app.UseSenparcGlobal() 注册方法
2、添加更多 SystemTime 辅助方法
v1.0.103 优化异步方法
v1.3.201 更新 Senparc.CO2NET.HttpUtility.Get.Download() 方法,修正 filename 判断正则表达式
v1.4.400 修复 Download 方法 bug

v1.5.2
1、增加和丰富 EncryptHelper 中加密方法(SHA1、AesGcmDecrypt、CRC32)
2、添加 FileHelper 中 GetFileHash 方法
3、LocalCacheLock释放锁之前增加是否锁成功的判断

v2.0.2 添加 XmlUtility.Deserialize() 重写方法
v2.0.3 修改HttpClient请求超时的实现方式
v2.0.4 XmlUtility 反序列化(Deserialize) 全面添加 rootNodeName 参数
v2.0.5 添加 WaitingFor() 方法
v2.0.5.4 添加 GetObject() 方法的 settings 参数
v2.1.1 添加 GetObject() 更多重写方法
v2.1.2
1、解决发送文件中中文名被微信服务器识别为乱码的问题
2、重构 RequestUtility,HttpPost_Common_NetCore() 改为异步方法:HttpPost_Common_NetCoreAsync()
3、修复 FileHelper.GetFileHash() 的 bug
v2.1.3
1、针对 .NET 7.0 处理对 Cookie 的特殊判断
2、优化模拟 Form 提交
v2.1.4 优化系统启动参数,允许使用相对路径注册 HTTP 证书
v2.1.5 新增 EncryptHelper.GetCertString() 以及 GetCertStringFromFile() 方法
v2.1.6 ReflectionHelper.GetStaticMember() 方法添加找不到目标对象的 null 判断,不再抛出异常
v2.1.7 HttpUtility.Post 系列方法提供 contentType 参数
v2.1.7.2 解决上一版本升级后导致的“The value cannot be null or empty. (Parameter 'mediaType')”异常
v2.1.7.3 继续解决上一版本升级后导致的“The value cannot be null or empty. (Parameter 'mediaType')”异常