ZStack.QingTui
10.3.1
dotnet add package ZStack.QingTui --version 10.3.1
NuGet\Install-Package ZStack.QingTui -Version 10.3.1
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="ZStack.QingTui" Version="10.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZStack.QingTui" Version="10.3.1" />
<PackageReference Include="ZStack.QingTui" />
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 ZStack.QingTui --version 10.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ZStack.QingTui, 10.3.1"
#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 ZStack.QingTui@10.3.1
#: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=ZStack.QingTui&version=10.3.1
#tool nuget:?package=ZStack.QingTui&version=10.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ZStack快速开发框架
.NET基础库:
ASP.NET Core基础库:
ASP.NET Core组件库:
项目结构
graph TD;
ZStack.Extensions --> ZStack.Core;
ZStack.Core --> ZStack.AspNetCore;
ZStack.AspNetCore --> ZStack.AspNetCore.OpenTelemetry;
ZStack.AspNetCore --> ZStack.AspNetCore.EventBus;
ZStack.AspNetCore --> ZStack.AspNetCore.Hangfire;
ZStack.AspNetCore.Hangfire --> ZStack.AspNetCore.Hangfire.MemoryStorage;
ZStack.AspNetCore.Hangfire --> ZStack.AspNetCore.Hangfire.Redis;
ZStack.AspNetCore.Hangfire --> ZStack.AspNetCore.Hangfire.PostgreSql;
ZStack.AspNetCore --> ZStack.AspNetCore.SqlSugar;
ZStack.AspNetCore.SqlSugar --> ZStack.SqlSugar;
ZStack.AspNetCore --> ZStack.AspNetCore.QingTui;
ZStack.AspNetCore.QingTui --> ZStack.QingTui;
| 项目 | 说明 |
|---|---|
| ZStack.Extensions | 扩展方法库:字符串、日期、集合、对象等扩展 |
| ZStack.Core | 核心库:DI、日志(Serilog)、配置、异常、性能追踪 |
| ZStack.AspNetCore | ASP.NET Core基础库:组件系统、规范化结果、OpenAPI |
| ZStack.AspNetCore.EventBus | 事件总线:基于EasyNetQ的消息发布与订阅 |
| ZStack.AspNetCore.Hangfire | 任务调度:基于Hangfire的定时任务框架 |
| ZStack.AspNetCore.SqlSugar | SqlSugar组件:自动注册与分布式ID生成 |
| ZStack.SqlSugar | SqlSugar基础库:多库管理、仓储、分页 |
| ZStack.AspNetCore.QingTui | 轻推组件:多应用管理与Token持久化 |
| ZStack.QingTui | 轻推基础库:消息、通讯录、JS-SDK |
| ZStack.AspNetCore.OpenTelemetry | 遥测组件:Metrics与Tracing集成 |
开始使用
控制台程序
添加NuGet包
ZStack.ExtensionsProgram.cs
global using Microsoft.Extensions.DependencyInjection;
global using Serilog;
global using ZStack.Core;
var sp = AppHostBuilder.CreateHostBuilder(args).Build().Services;
var logger = sp.GetRequiredService<ILogger<Program>>();
logger.Information("Hello, World!");
ASP.NET Core
添加NuGet包
ZStack.AspNetCoreProgram.cs
var builder = WebApplication.CreateBuilder(args).Inject();
var app = builder.Build();
app.UseZStackInject();
app.Run();
- Startup.cs
[AppStartup(Order = 1)]
public class Startup : AppStartup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddControllersWithViews();
}
public void Configure(IApplicationBuilder app, IHostEnvironment env)
{
app.UseRouting();
app.UseAuthorization();
}
}
配置
在 Configuration/ 目录下放置 JSON/INI/YAML 配置文件,框架会自动加载。环境特定文件(如 app.Development.json)会自动按环境筛选。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- Flurl.Http (>= 4.0.2)
- MimeTypesMap (>= 1.0.9)
- ZStack.Core (>= 10.3.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ZStack.QingTui:
| Package | Downloads |
|---|---|
|
ZStack.AspNetCore.QingTui
ZStack框架 轻推SDK |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.3.1 | 85 | 4/28/2026 |
| 10.3.0 | 83 | 4/28/2026 |
| 10.2.0 | 109 | 3/17/2026 |
| 10.1.0 | 127 | 1/5/2026 |
| 10.0.4 | 211 | 11/26/2025 |
| 10.0.3 | 311 | 11/13/2025 |
| 10.0.3-rc.2 | 129 | 11/9/2025 |
| 10.0.1-rc.3 | 130 | 11/7/2025 |
| 10.0.1-rc.2 | 186 | 11/6/2025 |
| 10.0.0-rc.2 | 172 | 10/28/2025 |
| 9.1.13 | 181 | 11/7/2025 |
| 9.1.12 | 226 | 11/6/2025 |
| 9.1.10 | 224 | 10/24/2025 |
| 9.1.9 | 556 | 7/21/2025 |
| 9.1.8 | 188 | 7/18/2025 |
| 9.1.7 | 181 | 7/18/2025 |
| 9.1.6 | 186 | 7/18/2025 |
| 9.1.5 | 219 | 7/9/2025 |
| 9.1.4 | 202 | 7/9/2025 |
| 9.1.3 | 216 | 7/8/2025 |
Loading failed