CoreWebAPI.Common
1.4.36
dotnet add package CoreWebAPI.Common --version 1.4.36
NuGet\Install-Package CoreWebAPI.Common -Version 1.4.36
<PackageReference Include="CoreWebAPI.Common" Version="1.4.36" />
paket add CoreWebAPI.Common --version 1.4.36
#r "nuget: CoreWebAPI.Common, 1.4.36"
// Install CoreWebAPI.Common as a Cake Addin #addin nuget:?package=CoreWebAPI.Common&version=1.4.36 // Install CoreWebAPI.Common as a Cake Tool #tool nuget:?package=CoreWebAPI.Common&version=1.4.36
已发布版本
V1.4.36
SerilogHelper
解决内存溢出问题, Log.Logger = logger.CreateLogger(); ... Log.CloseAndFlush(); 替换为 var log = logger.CreateLogger(); ... log.Dispose();
V1.4.35
ExcelHelper
ExcelToDataTable使用XSSFWorkbook
V1.4.34
SerilogHelper
输出文件模版调整为{Message:lj}
V1.4.33
SerilogHelper
- 增加写入本地文件日志开关
- 增加写入ELK逻辑 "Serilog": { "WriteToFile": { "Enabled": false }, "WriteToELK": { "Enabled": true, "Connection": "http://localhost:9200", "Username": "es_read_write", "Password": "es_read_write", "IndexName": "EsunWMSCoreLog", // 索引名称,设置为项目名 "IndexLifecyclePolicy": "EsunWMSCoreLog", // 索引生命周期策略,不设置默认创建索引名策略 "MaximumAge": "7d" // 设置日志保存的最大时长,7d:7天;7h:7小时;7m:7分钟 }, ... },
ExcelHelper
- 读取到空白行时,停止继续读取
- SXSSFWorkbook默认会生成临时文件到/tmp目录,调用dispose自动删除临时文件
V1.4.30
SerilogHelper
- 解决并发内存泄漏、内容丢失问题
V1.4.29
SerilogHelper
- 去除读写锁
V1.4.28
SerilogHelper
- 调整为异步线程
V1.4.27
GetMessage
- 调用平台GRPC服务逻辑调整,使用时必须注册Redis,appsetting中增加多语言服务地址 { "Startup":{ "MultiLangGrpcServiceConn": "" } }
RedisCacheManager
- 连接配置调整
V1.4.26
GetCString
- 去除可选参数
- 增加GetCStringNoTrim,转换字符串不去除前后空格
V1.4.25
ProgressHelper
- 增加前端动态查询条件转Progress语句
ExcelHelper
- 输出报错抛出异常
GetCString
- 增加可选参数,不去除空格(默认去前后空格)
StaticHttpContext
1.增加TraceIdentifier,表示跟踪日志中的请求的唯一标识符
SerilogHelper
- 增加写入mongodb "Serilog": { "WriteToMongoDB": { "Enabled": true, "Connection": "mongodb://10.124.0.11:27017", "DataBase": "logs", "CollectionName": "core_webapi_log" },
- 写日志改为异步处理
V1.4.24
重新打包
V1.4.23
SerilogHelper 未注册UseStaticHttpContext默认日志文件名API、USER为空
LogWriteLock读写锁增加异常捕获
V1.4.22
安全问题包升级
NPOI、RestSharp、System.IdentityModel.Tokens.Jwt
UtilConvert 增加GetCLong基础数据转换
SerilogHelper 增加读写锁
HttpHelper 增加证书跳过逻辑
CheckCertValid默认false,跳过证书有效性校验
V1.4.21
ExcelHelper 输出调整
输出Excel日期类型的单元格启用筛选时候仍然按照字符串的方式筛选
V1.4.20
GetCInt BUG修复
空字符串返回0,小数返回整数
V1.4.18
DbDynamicQueryHelper BUG修复
String类型nq条件sql错误
V1.4.17
ExcelHelper修复
日期值单元格类型设置为日期
V1.4.16
动态查询方法调整
PgsqlDynamicWhereSqlParaGet:字符串值为null时,查询条件调整为同时null和空串比较
V1.4.10
Serilog日志模块调整
增加路径配置
增加指定路径、用户输出控制
"Serilog": { "Info": { "Enabled": true, "Path": "D:\\Tools\\...\\bin\\Debug\\net5.0\\", "AllowAllApis": false, "AllowAPIs": [ "/api/demo/query" ], "IgnoreApis": [ "/api/values/get" ], "AllowAllUsers": false, "AllowUsers": [ "fine" ], "IgnoreUsers": [ "demo" ] }, "Error": { "Enabled": true, "Path": "D:\\Tools\\...\\bin\\Debug\\net5.0\\", "AllowAllApis": true, "AllowAPIs": [ ], "IgnoreApis": [ ], "AllowAllUsers": true, "AllowUsers": [ ], "IgnoreUsers": [ ] } },
AES加密类
- 增加aes加密协议,所有appsetting里的密码连接配置按此规则加密解密
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. |
-
net5.0
- Google.Protobuf (>= 3.21.2)
- Grpc.Net.Client (>= 2.40.0)
- MiniProfiler.AspNetCore (>= 4.2.22)
- mongocsharpdriver (>= 2.13.1)
- nacos-sdk-csharp (>= 1.1.0)
- NEST (>= 7.17.4)
- Newtonsoft.Json (>= 13.0.2)
- NPOI (>= 2.7.0)
- RabbitMQ.Client (>= 6.3.0)
- RestSharp (>= 106.15.0)
- Serilog.AspNetCore (>= 4.1.0)
- Serilog.Sinks.Async (>= 1.4.0)
- Serilog.Sinks.Elasticsearch (>= 8.4.1)
- Serilog.Sinks.File (>= 4.1.0)
- Serilog.Sinks.PeriodicBatching (>= 5.0.0)
- SqlSugarCore (>= 5.1.4.58)
- StackExchange.Redis (>= 2.6.45)
- SugarRedis (>= 1.3.0)
- System.IdentityModel.Tokens.Jwt (>= 7.6.2)
-
net6.0
- Google.Protobuf (>= 3.21.2)
- Grpc.Net.Client (>= 2.40.0)
- MiniProfiler.AspNetCore (>= 4.2.22)
- mongocsharpdriver (>= 2.13.1)
- nacos-sdk-csharp (>= 1.1.0)
- NEST (>= 7.17.4)
- Newtonsoft.Json (>= 13.0.2)
- NPOI (>= 2.7.0)
- RabbitMQ.Client (>= 6.3.0)
- RestSharp (>= 106.15.0)
- Serilog.AspNetCore (>= 4.1.0)
- Serilog.Sinks.Async (>= 1.4.0)
- Serilog.Sinks.Elasticsearch (>= 8.4.1)
- Serilog.Sinks.File (>= 4.1.0)
- Serilog.Sinks.PeriodicBatching (>= 5.0.0)
- SqlSugarCore (>= 5.1.4.58)
- StackExchange.Redis (>= 2.6.45)
- SugarRedis (>= 1.3.0)
- System.IdentityModel.Tokens.Jwt (>= 7.6.2)
-
net7.0
- Google.Protobuf (>= 3.21.2)
- Grpc.Net.Client (>= 2.40.0)
- MiniProfiler.AspNetCore (>= 4.2.22)
- mongocsharpdriver (>= 2.13.1)
- nacos-sdk-csharp (>= 1.1.0)
- NEST (>= 7.17.4)
- Newtonsoft.Json (>= 13.0.2)
- NPOI (>= 2.7.0)
- RabbitMQ.Client (>= 6.3.0)
- RestSharp (>= 106.15.0)
- Serilog.AspNetCore (>= 4.1.0)
- Serilog.Sinks.Async (>= 1.4.0)
- Serilog.Sinks.Elasticsearch (>= 8.4.1)
- Serilog.Sinks.File (>= 4.1.0)
- Serilog.Sinks.PeriodicBatching (>= 5.0.0)
- SqlSugarCore (>= 5.1.4.58)
- StackExchange.Redis (>= 2.6.45)
- SugarRedis (>= 1.3.0)
- System.IdentityModel.Tokens.Jwt (>= 7.6.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CoreWebAPI.Common:
Package | Downloads |
---|---|
CoreWebAPI.Extensions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.36 | 58 | 12/19/2024 |
1.4.35 | 78 | 12/11/2024 |
1.4.34 | 77 | 12/10/2024 |
1.4.33 | 117 | 12/9/2024 |
1.4.32 | 98 | 10/21/2024 |
1.4.31 | 100 | 10/21/2024 |
1.4.30 | 144 | 10/16/2024 |
1.4.29 | 108 | 10/7/2024 |
1.4.27 | 102 | 9/20/2024 |
1.4.26 | 187 | 9/5/2024 |
1.4.24 | 110 | 8/1/2024 |
1.4.23 | 122 | 6/25/2024 |
1.4.22 | 128 | 6/25/2024 |
1.4.21 | 122 | 6/4/2024 |
1.4.21-preview6 | 144 | 1/19/2024 |
1.4.21-preview5 | 101 | 1/18/2024 |
1.4.21-preview4 | 95 | 1/18/2024 |
1.4.21-preview3 | 101 | 1/18/2024 |
1.4.21-preview2 | 106 | 1/10/2024 |
1.4.21-preview1 | 114 | 1/10/2024 |
1.4.20 | 256 | 12/6/2023 |
1.4.19 | 1,793 | 11/10/2023 |
1.4.18 | 167 | 10/18/2023 |
1.4.17 | 148 | 9/19/2023 |
1.4.16 | 186 | 6/19/2023 |
1.4.15 | 179 | 6/2/2023 |
1.4.14 | 147 | 6/1/2023 |
1.4.13 | 159 | 5/19/2023 |
1.4.12 | 140 | 5/15/2023 |
1.4.11 | 168 | 5/12/2023 |
1.4.10 | 325 | 4/24/2023 |
1.4.10-preview2 | 121 | 4/24/2023 |
1.4.10-preview1 | 129 | 4/19/2023 |
1.4.9 | 206 | 3/28/2023 |
1.4.9-preview2 | 133 | 3/9/2023 |
1.4.9-preview1 | 125 | 3/9/2023 |
1.4.8 | 341 | 2/1/2023 |
1.4.7 | 322 | 12/7/2022 |
1.4.6 | 320 | 11/29/2022 |
1.4.5 | 328 | 11/21/2022 |
1.4.4 | 313 | 11/21/2022 |
1.4.3 | 325 | 11/21/2022 |
1.4.2 | 439 | 10/14/2022 |
1.4.1 | 517 | 8/26/2022 |
1.3.12 | 494 | 8/24/2022 |
1.3.11 | 480 | 8/23/2022 |
1.3.10 | 467 | 8/22/2022 |
1.3.9 | 456 | 8/22/2022 |
1.3.8 | 469 | 8/9/2022 |
1.3.7 | 471 | 7/29/2022 |
1.3.6 | 1,877 | 7/21/2022 |
1.3.5 | 533 | 7/18/2022 |
1.3.4 | 518 | 7/14/2022 |
1.3.3 | 509 | 7/12/2022 |
1.3.2 | 509 | 7/7/2022 |
1.3.1 | 491 | 6/30/2022 |
1.3.0 | 527 | 6/22/2022 |
1.2.9 | 505 | 6/20/2022 |
1.2.8 | 494 | 6/15/2022 |
1.2.7 | 511 | 6/9/2022 |
1.2.6 | 525 | 6/8/2022 |
1.2.5 | 1,218 | 6/1/2022 |
1.2.4 | 559 | 6/1/2022 |
1.2.3 | 531 | 5/31/2022 |
1.2.1 | 595 | 5/6/2022 |
1.2.0 | 568 | 5/6/2022 |
1.1.9 | 563 | 5/6/2022 |
1.1.8 | 575 | 5/5/2022 |
1.1.7 | 547 | 5/5/2022 |
1.1.6 | 540 | 5/3/2022 |
1.1.5 | 552 | 4/29/2022 |
1.1.4 | 587 | 4/29/2022 |
1.1.3 | 1,525 | 4/8/2022 |
1.1.2 | 647 | 2/7/2022 |
1.1.1 | 628 | 1/20/2022 |
1.1.0 | 646 | 1/20/2022 |
1.0.10 | 1,154 | 12/10/2021 |
1.0.9 | 645 | 12/9/2021 |
1.0.8 | 442 | 12/9/2021 |
1.0.7 | 575 | 12/9/2021 |
1.0.6 | 1,351 | 12/6/2021 |
1.0.5 | 1,064 | 12/3/2021 |
1.0.4 | 978 | 11/22/2021 |
1.0.3 | 976 | 11/22/2021 |
1.0.2 | 1,497 | 11/15/2021 |
1.0.1 | 485 | 11/15/2021 |