QQZiFramework 2.0.187

dotnet add package QQZiFramework --version 2.0.187
                    
NuGet\Install-Package QQZiFramework -Version 2.0.187
                    
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="QQZiFramework" Version="2.0.187" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QQZiFramework" Version="2.0.187" />
                    
Directory.Packages.props
<PackageReference Include="QQZiFramework" />
                    
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 QQZiFramework --version 2.0.187
                    
#r "nuget: QQZiFramework, 2.0.187"
                    
#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 QQZiFramework@2.0.187
                    
#: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=QQZiFramework&version=2.0.187
                    
Install as a Cake Addin
#tool nuget:?package=QQZiFramework&version=2.0.187
                    
Install as a Cake Tool

QQZiFramework

介绍

.net core 快速开发框架,包含授权,验证,全局异常处理,日志记录,ORM持久层(sqlserver、mysql),参数配置管理,审计日志等

软件架构

软件架构说明

NuGet 包发布(BaGet)

框架各子项目以 NuGet 包形式发布到内网 BaGet 私服,供 sh3h-core-api 等项目引用。

BaGet 地址
源 URL http://192.168.2.126:30555/v3/index.json
推送 API http://192.168.2.126:30555/api/v2/package/

API Key 在 BaGet 管理界面创建,推送时使用 -k 参数传入(勿提交到 Git)。

可发布的包
项目目录 包名
QQZiFramework/ QQZiFramework
QQZiFramework.Mvc/ QQZiFramework.Mvc
QQZiFramework.MQ/ QQZiFramework.MQ
QQZiFramework.MQ.Rocket/ QQZiFramework.MQ.Rocket
QQZiFramework.ApiSocket/ QQZiFramework.ApiSocket
QQZiFramework.DataBase.MySql/ QQZiFramework.DataBase.MySql
QQZiFramework.DataBase.Oracle/ QQZiFramework.DataBase.Oracle
QQZiFramework.DataBase.PostgreSQL/ QQZiFramework.DataBase.PostgreSQL
QQZiFramework.DataBase.YaShan/ QQZiFramework.DataBase.YaShan
QQZiFramework.DataBase.DM/ QQZiFramework.DataBase.DM
发布步骤
  1. 升级版本号:在对应 .csproj<Version> 中递增版本( semver,不可与私服已有版本重复)。

  2. 打包(以核心包为例):

cd QQZiFramework
dotnet pack -c Release -o ./nupkg
  1. 推送到 BaGet
dotnet nuget push ./nupkg/QQZiFramework.<版本号>.nupkg \
  -s http://192.168.2.126:30555/v3/index.json \
  -k <BAGET_API_KEY>

一次发布多个包时,对 nupkg 目录下每个 .nupkg 执行 push,或:

for f in ./nupkg/*.nupkg; do
  dotnet nuget push "$f" \
    -s http://192.168.2.126:30555/v3/index.json \
    -k <BAGET_API_KEY>
done
  1. 在引用项目中升级版本:修改消费方 PackageReferenceVersion,然后 dotnet restore / 重新编译。
消费方配置 NuGet 源

本机或 CI 需能解析 BaGet 源。可在用户级或仓库根目录 NuGet.Config 中添加:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="baget" value="http://192.168.2.126:30555/v3/index.json" />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

仅从内网恢复时也可临时指定源:

dotnet restore -s http://192.168.2.126:30555/v3/index.json -s https://api.nuget.org/v3/index.json
常见问题
  • NU1102 找不到包:未配置 BaGet 源,或版本号尚未 push 成功。
  • 409 Conflict:该版本已存在,需提高 <Version> 后重新 pack / push。
  • HTTP 警告:当前 BaGet 为 HTTP;后续若改为 HTTPS,同步更新源 URL 即可。
安装教程

通过 NuGet 引用(需已配置 BaGet 源):

<PackageReference Include="QQZiFramework" Version="2.0.186" />
使用说明

ConsoleDemo 是控制台项目使用例子 MvcDemo 是mvc项目使用例子

  1. xxxx
  2. xxxx
  3. xxxx
参与贡献
  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
码云特技
  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. 码云官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解码云上的优秀开源项目
  4. GVP 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
  5. 码云官方提供的使用手册 https://gitee.com/help
  6. 码云封面人物是一档用来展示码云会员风采的栏目 https://gitee.com/gitee-stars/
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.  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. 
.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 (6)

Showing the top 5 NuGet packages that depend on QQZiFramework:

Package Downloads
QQZiFramework.Mvc

.net core WEB Api与Mvc应用包,QQZiFramework框架的web设置

QQZiFramework.MQ

QQZiFramework框架消息队列实现(可选redis与RabbitMQ)

QQZiFramework.DataBase.Oracle

QQZiFramework访问oracle数据库的支持

QQZiFramework.DataBase.MySql

QQZiFramework访问MySql数据库的支持

QQZiFramework.DataBase.PostgreSQL

QQZiFramework访问PostgreSQL数据库的支持

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.187 70 8/5/2026
2.0.176 228 3/6/2026
2.0.173 750 12/3/2025
2.0.172 365 11/8/2025
2.0.155 277 6/6/2025
2.0.154 428 4/27/2025
2.0.144 246 3/27/2025
2.0.143 449 3/24/2025
2.0.142 446 3/18/2025
2.0.133 390 12/19/2024
2.0.132 327 12/13/2024
2.0.131 216 12/11/2024
2.0.130 358 12/11/2024
2.0.129 223 12/5/2024
2.0.128 309 11/21/2024
2.0.127 269 11/11/2024
2.0.126 276 11/11/2024
2.0.122 206 10/25/2024
2.0.121 221 10/25/2024
2.0.120 310 10/17/2024
Loading failed