Senparc.CO2NET
1.5.2-preview4
Prefix Reserved
See the version list below for details.
dotnet add package Senparc.CO2NET --version 1.5.2-preview4
NuGet\Install-Package Senparc.CO2NET -Version 1.5.2-preview4
<PackageReference Include="Senparc.CO2NET" Version="1.5.2-preview4" />
paket add Senparc.CO2NET --version 1.5.2-preview4
#r "nuget: Senparc.CO2NET, 1.5.2-preview4"
// Install Senparc.CO2NET as a Cake Addin #addin nuget:?package=Senparc.CO2NET&version=1.5.2-preview4&prerelease // Install Senparc.CO2NET as a Cake Tool #tool nuget:?package=Senparc.CO2NET&version=1.5.2-preview4&prerelease
Senparc.CO2NET 公共基础库
Senparc.CO2NET 开源项目:
https://github.com/Senparc/Senparc.CO2NET
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 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. 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. |
-
.NETFramework 4.5
- Newtonsoft.Json (>= 12.0.1)
-
.NETStandard 2.0
- Microsoft.Extensions.Caching.Abstractions (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.2)
- Microsoft.Extensions.Http (>= 2.2.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.2.0)
- Microsoft.Net.Http.Headers (>= 2.2.8)
- Newtonsoft.Json (>= 12.0.1)
- System.Diagnostics.TraceSource (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- System.Xml.XmlSerializer (>= 4.3.0)
-
.NETStandard 2.1
- Microsoft.Extensions.Caching.Abstractions (>= 3.0.0)
- Microsoft.Extensions.DependencyInjection (>= 3.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Http (>= 3.0.0)
- Microsoft.Extensions.Http.Polly (>= 3.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.0.0)
- Microsoft.Net.Http.Headers (>= 2.2.8)
- Newtonsoft.Json (>= 12.0.1)
NuGet packages (50)
Showing the top 5 NuGet packages that depend on Senparc.CO2NET:
Package | Downloads |
---|---|
Senparc.Weixin
微信 SDK - Senparc.Weixin SDK 基础模块 Senparc.Weixin SDK 开源项目: https://github.com/JeffreySu/WeiXinMPSDK |
|
Senparc.NeuChar
NeuChar SDK 跨平台信息交互标准 |
|
Senparc.CO2NET.APM
Senparc.CO2NET.APM Application Performance Management |
|
Senparc.CO2NET.AspNet
Senparc.CO2NET.AspNet library Senparc.CO2NET open source project: https://github.com/Senparc/Senparc.CO2NET |
|
Senparc.CO2NET.Cache.Redis
WeChat Public Account - Redis Module Senparc.Weixin SDK Open Source Project: https://github.com/JeffreySu/WeiXinMPSDK |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Senparc.CO2NET:
Repository | Stars |
---|---|
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
|
|
JeffreySu/WechatVideoCourse
《微信公众号+小程序快速开发》视频教程课件及代码
|
|
Senparc/NeuChar
Senparc.NeuChar 跨平台信息交互标准
|
Version | Downloads | Last updated |
---|---|---|
3.0.0-beta1 | 441 | 10/24/2024 |
2.5.2 | 3,879 | 9/11/2024 |
2.5.1 | 5,500 | 8/22/2024 |
2.5.0 | 354 | 8/22/2024 |
2.4.3 | 11,073 | 7/28/2024 |
2.4.2 | 7,343 | 7/13/2024 |
2.4.1.1 | 9,685 | 5/17/2024 |
2.4.1 | 166 | 5/11/2024 |
2.4.0.1 | 16,453 | 2/8/2024 |
2.4.0 | 18,602 | 1/23/2024 |
2.3.1 | 33,855 | 12/14/2023 |
2.3.0 | 30,210 | 11/15/2023 |
2.3.0-rc.2 | 411 | 11/8/2023 |
2.2.1 | 38,782 | 7/12/2023 |
2.2.0 | 43,473 | 6/27/2023 |
2.1.9 | 14,111 | 6/14/2023 |
2.1.8 | 28,305 | 5/28/2023 |
2.1.7.3 | 90,722 | 1/28/2023 |
2.1.7.2 | 81,341 | 1/12/2023 |
2.1.7.1 | 70,673 | 1/10/2023 |
2.1.4.2 | 10,928 | 12/20/2022 |
2.1.4.1 | 2,830 | 12/19/2022 |
2.1.3 | 54,517 | 11/15/2022 |
2.1.2 | 110,990 | 7/21/2022 |
2.1.1.1 | 1,606 | 7/14/2022 |
2.1.1 | 17,913 | 5/30/2022 |
2.1.0 | 166,860 | 4/3/2022 |
2.0.5.4 | 13,717 | 4/1/2022 |
2.0.3 | 80,520 | 2/8/2022 |
2.0.1 | 69,913 | 2/5/2022 |
2.0.0 | 52,601 | 11/12/2021 |
1.6.0 | 28,760 | 11/6/2021 |
1.5.2-preview4 | 7,126 | 9/11/2021 |
1.5.2-preview3 | 4,006 | 8/30/2021 |
1.5.0-preview3 | 40,519 | 7/22/2021 |
1.5.0-preview2 | 962 | 7/22/2021 |
1.5.0-preview1 | 3,556 | 7/14/2021 |
1.5.0-beta1 | 1,866 | 7/5/2021 |
1.4.400 | 190,207 | 6/8/2021 |
1.4.300.3-preview2.net6p.3... | 2,085 | 4/26/2021 |
1.3.300 | 38,613 | 4/13/2021 |
1.3.200 | 225,617 | 8/10/2020 |
1.3.110 | 19,907 | 5/30/2020 |
1.3.104.1 | 5,434 | 4/22/2020 |
1.3.104 | 193,122 | 3/15/2020 |
1.3.103 | 169,653 | 3/1/2020 |
1.3.102 | 8,714 | 2/28/2020 |
1.3.101 | 26,717 | 2/20/2020 |
1.1.100 | 1,996 | 2/20/2020 |
1.1.100-preview2 | 8,908 | 2/13/2020 |
1.1.100-preview1 | 6,681 | 1/27/2020 |
1.0.103 | 176,879 | 11/18/2019 |
1.0.102 | 113,737 | 10/14/2019 |
1.0.102-preview7.1.1 | 593 | 10/9/2019 |
1.0.102-preview7 | 1,555 | 10/7/2019 |
1.0.102-preview2 | 2,139 | 10/2/2019 |
1.0.101 | 40,188 | 9/28/2019 |
1.0.100 | 19,343 | 9/24/2019 |
0.9.1 | 18,838 | 9/19/2019 |
0.9.0 | 75,730 | 9/15/2019 |
0.8.10 | 15,802 | 9/11/2019 |
0.8.9 | 29,489 | 8/22/2019 |
0.8.9-preivew1 | 1,039 | 8/17/2019 |
0.8.5 | 1,900 | 8/9/2019 |
0.8.4 | 6,615 | 7/30/2019 |
0.8.3 | 21,678 | 7/6/2019 |
0.8.2 | 128,063 | 6/6/2019 |
0.8.2-preview1 | 1,183 | 6/3/2019 |
0.8.1-preview1 | 14,912 | 5/23/2019 |
0.8.0-preview1 | 4,291 | 5/23/2019 |
0.7.3.1-preview2 | 1,289 | 5/21/2019 |
0.7.3.1-preview1 | 2,681 | 5/21/2019 |
0.7.3-preview1 | 3,225 | 5/21/2019 |
0.7.2.1 | 1,882 | 5/20/2019 |
0.7.1 | 20,110 | 5/13/2019 |
0.7.1-preview3 | 1,259 | 5/7/2019 |
0.7.0-preview3 | 10,635 | 4/29/2019 |
0.6.1-preview2 | 4,802 | 4/28/2019 |
0.6.1-preview1 | 5,395 | 4/27/2019 |
0.6.0-preview1 | 9,538 | 4/17/2019 |
0.5.2 | 142,900 | 1/22/2019 |
0.5.2-preview2 | 1,189 | 1/21/2019 |
0.5.2-preview1 | 4,892 | 1/18/2019 |
0.5.1.1 | 7,481 | 1/16/2019 |
0.5.1 | 18,017 | 1/8/2019 |
0.5.0 | 2,983 | 1/8/2019 |
0.4.4 | 11,101 | 1/3/2019 |
0.4.4-preview2 | 7,575 | 12/28/2018 |
0.4.3-preview6 | 4,337 | 12/27/2018 |
0.4.3-preview3 | 5,091 | 12/26/2018 |
0.4.3-preview2 | 4,803 | 12/26/2018 |
0.4.3-preview1 | 1,410 | 12/26/2018 |
0.4.2 | 9,718 | 12/26/2018 |
0.4.1 | 18,222 | 12/18/2018 |
0.3.0.2 | 65,963 | 11/18/2018 |
0.2.17-preview1 | 1,100 | 11/16/2018 |
0.2.16 | 108,384 | 10/11/2018 |
0.2.15 | 20,740 | 10/10/2018 |
0.2.14 | 46,218 | 9/29/2018 |
0.2.11 | 2,055 | 9/27/2018 |
0.2.10 | 61,604 | 9/1/2018 |
0.2.8.2 | 24,594 | 8/25/2018 |
0.2.7 | 1,868 | 8/19/2018 |
0.2.6 | 20,001 | 8/2/2018 |
0.2.4 | 6,542 | 7/28/2018 |
0.2.3 | 6,376 | 7/21/2018 |
0.2.0 | 11,588 | 7/14/2018 |
0.1.11 | 8,688 | 7/7/2018 |
0.1.8 | 2,350 | 7/6/2018 |
0.1.7 | 3,487 | 7/5/2018 |
0.1.6.1 | 8,528 | 7/4/2018 |
0.1.6 | 1,887 | 7/4/2018 |
0.1.3 | 2,598 | 6/23/2018 |
0.1.2 | 3,109 | 6/21/2018 |
0.1.1 | 1,631 | 6/21/2018 |
0.1.0 | 3,977 | 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释放锁之前增加是否锁成功的判断