CoreWebAPI.Common 1.4.42

There is a newer version of this package available.
See the version list below for details.
dotnet add package CoreWebAPI.Common --version 1.4.42
                    
NuGet\Install-Package CoreWebAPI.Common -Version 1.4.42
                    
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="CoreWebAPI.Common" Version="1.4.42" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CoreWebAPI.Common" Version="1.4.42" />
                    
Directory.Packages.props
<PackageReference Include="CoreWebAPI.Common" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CoreWebAPI.Common --version 1.4.42
                    
#r "nuget: CoreWebAPI.Common, 1.4.42"
                    
#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.
#:package CoreWebAPI.Common@1.4.42
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CoreWebAPI.Common&version=1.4.42
                    
Install as a Cake Addin
#tool nuget:?package=CoreWebAPI.Common&version=1.4.42
                    
Install as a Cake Tool

已发布版本

V1.4.42

SqlSugarRedisCache

数据库连接加密

RedisCacheManager

数据库连接加密

V1.4.41

AuthRedisBasket

用户认证器修复bug 用户认证Redis和通用Redis连接区分,原本后创建的连接会覆盖先创建的连接

V1.4.40

AuthRedisBasket

用户认证器修复bug 不启用本地Redis认证,或未配置正确的Redis地址时,发起请求时抛出AuthRedis异常问题 AuthRedis异常捕获

V1.4.39

AuthRedisBasket

用户认证器 本地鉴权校验使用Redis

V1.4.38

SerilogHelper

解决日志有时候不输出问题 输出日志改为同步

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

  1. 增加写入本地文件日志开关
  2. 增加写入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

  1. 读取到空白行时,停止继续读取
  2. SXSSFWorkbook默认会生成临时文件到/tmp目录,调用dispose自动删除临时文件

V1.4.30

SerilogHelper

  1. 解决并发内存泄漏、内容丢失问题

V1.4.29

SerilogHelper

  1. 去除读写锁

V1.4.28

SerilogHelper

  1. 调整为异步线程

V1.4.27

GetMessage

  1. 调用平台GRPC服务逻辑调整,使用时必须注册Redis,appsetting中增加多语言服务地址 { "Startup":{ "MultiLangGrpcServiceConn": "" } }

RedisCacheManager

  1. 连接配置调整

V1.4.26

GetCString

  1. 去除可选参数
  2. 增加GetCStringNoTrim,转换字符串不去除前后空格

V1.4.25

ProgressHelper

  1. 增加前端动态查询条件转Progress语句

ExcelHelper

  1. 输出报错抛出异常

GetCString

  1. 增加可选参数,不去除空格(默认去前后空格)

StaticHttpContext

1.增加TraceIdentifier,表示跟踪日志中的请求的唯一标识符

SerilogHelper

  1. 增加写入mongodb "Serilog": { "WriteToMongoDB": { "Enabled": true, "Connection": "mongodb://10.124.0.11:27017", "DataBase": "logs", "CollectionName": "core_webapi_log" },
  2. 写日志改为异步处理

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日志模块调整

  1. 增加路径配置

  2. 增加指定路径、用户输出控制

      "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加密类

  1. 增加aes加密协议,所有appsetting里的密码连接配置按此规则加密解密
Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.48 180 8/21/2025
1.4.47 223 8/8/2025
1.4.46 556 7/23/2025
1.4.45 191 7/2/2025
1.4.44 163 7/2/2025
1.4.43 209 6/25/2025
1.4.42 230 3/19/2025
1.4.41 184 3/19/2025
1.4.40 244 3/18/2025
1.4.39 361 3/5/2025
1.4.38 250 3/5/2025
1.4.37 257 1/2/2025
1.4.36 146 12/19/2024
1.4.35 139 12/11/2024
1.4.34 135 12/10/2024
1.4.33 189 12/9/2024
1.4.32 156 10/21/2024
1.4.31 156 10/21/2024
1.4.30 197 10/16/2024
1.4.29 160 10/7/2024
1.4.27 156 9/20/2024
1.4.26 255 9/5/2024
1.4.24 156 8/1/2024
1.4.23 187 6/25/2024
1.4.22 172 6/25/2024
1.4.21 171 6/4/2024
1.4.21-preview6 161 1/19/2024
1.4.21-preview5 116 1/18/2024
1.4.21-preview4 110 1/18/2024
1.4.21-preview3 120 1/18/2024
1.4.21-preview2 122 1/10/2024
1.4.21-preview1 131 1/10/2024
1.4.20 275 12/6/2023
1.4.19 1,815 11/10/2023
1.4.18 191 10/18/2023
1.4.17 179 9/19/2023
1.4.16 243 6/19/2023
1.4.15 248 6/2/2023
1.4.14 207 6/1/2023
1.4.13 225 5/19/2023
1.4.12 204 5/15/2023
1.4.11 224 5/12/2023
1.4.10 402 4/24/2023
1.4.10-preview2 178 4/24/2023
1.4.10-preview1 186 4/19/2023
1.4.9 265 3/28/2023
1.4.9-preview2 188 3/9/2023
1.4.9-preview1 179 3/9/2023
1.4.8 405 2/1/2023
1.4.7 382 12/7/2022
1.4.6 380 11/29/2022
1.4.5 387 11/21/2022
1.4.4 375 11/21/2022
1.4.3 385 11/21/2022
1.4.2 509 10/14/2022
1.4.1 590 8/26/2022
1.3.12 561 8/24/2022
1.3.11 554 8/23/2022
1.3.10 537 8/22/2022
1.3.9 524 8/22/2022
1.3.8 539 8/9/2022
1.3.7 543 7/29/2022
1.3.6 1,960 7/21/2022
1.3.5 606 7/18/2022
1.3.4 593 7/14/2022
1.3.3 582 7/12/2022
1.3.2 584 7/7/2022
1.3.1 567 6/30/2022
1.3.0 601 6/22/2022
1.2.9 578 6/20/2022
1.2.8 568 6/15/2022
1.2.7 587 6/9/2022
1.2.6 602 6/8/2022
1.2.5 1,299 6/1/2022
1.2.4 637 6/1/2022
1.2.3 607 5/31/2022
1.2.1 673 5/6/2022
1.2.0 649 5/6/2022
1.1.9 641 5/6/2022
1.1.8 657 5/5/2022
1.1.7 625 5/5/2022
1.1.6 619 5/3/2022
1.1.5 632 4/29/2022
1.1.4 665 4/29/2022
1.1.3 1,607 4/8/2022
1.1.2 731 2/7/2022
1.1.1 715 1/20/2022
1.1.0 730 1/20/2022
1.0.10 1,240 12/10/2021
1.0.9 732 12/9/2021
1.0.8 529 12/9/2021
1.0.7 660 12/9/2021
1.0.6 1,437 12/6/2021
1.0.5 1,147 12/3/2021
1.0.4 1,065 11/22/2021
1.0.3 1,061 11/22/2021
1.0.2 1,583 11/15/2021
1.0.1 569 11/15/2021