VOOZH about

URL: https://www.nuget.org/packages/ZStack.Core/

⇱ NuGet Gallery | ZStack.Core 10.7.0




👁 Image
ZStack.Core 10.7.0

dotnet add package ZStack.Core --version 10.7.0
 
 
NuGet\Install-Package ZStack.Core -Version 10.7.0
 
 
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.Core" Version="10.7.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZStack.Core" Version="10.7.0" />
 
Directory.Packages.props
<PackageReference Include="ZStack.Core" />
 
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 ZStack.Core --version 10.7.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ZStack.Core, 10.7.0"
 
 
#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.Core@10.7.0
 
 
#: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.Core&version=10.7.0
 
Install as a Cake Addin
#tool nuget:?package=ZStack.Core&version=10.7.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ZStack快速开发框架

.NET基础库: 👁 Nuget
👁 Nuget

ASP.NET Core基础库: 👁 Nuget

ASP.NET Core组件库:👁 Nuget
👁 Nuget
👁 Nuget

项目结构

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;
项目 说明
扩展方法库:字符串、日期、集合、对象等扩展
核心库:DI、日志(Serilog)、配置、异常、性能追踪
ASP.NET Core基础库:组件系统、规范化结果、OpenAPI
事件总线:基于EasyNetQ的消息发布与订阅
任务调度:基于Hangfire的定时任务框架
SqlSugar组件:自动注册与分布式ID生成
SqlSugar基础库:多库管理、仓储、分页
轻推组件:多应用管理与Token持久化
轻推基础库:消息、通讯录、JS-SDK
遥测组件:Metrics与Tracing集成

开始使用

控制台程序

  1. 添加NuGet包 ZStack.Extensions

  2. Program.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

  1. 添加NuGet包 ZStack.AspNetCore

  2. Program.cs

var builder = WebApplication.CreateBuilder(args).Inject();
var app = builder.Build();
app.UseZStackInject();
app.Run();
  1. 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 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (3)

Showing the top 3 NuGet packages that depend on ZStack.Core:

Package Downloads
ZStack.AspNetCore

ZStack.AspNetCore框架

ZStack.QingTui

ZStack框架 轻推SDK

ZStack.SqlSugar

ZStack框架 SqlSugar插件

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.7.0 218 5/22/2026
10.6.0 208 5/22/2026
10.5.0 215 5/19/2026
10.4.0 206 5/1/2026
10.3.1 191 4/28/2026
10.3.0 187 4/28/2026
10.2.0 212 3/17/2026
10.1.0 221 1/5/2026
10.0.4 323 11/26/2025
10.0.3 401 11/13/2025
10.0.3-rc.2 141 11/9/2025
10.0.1-rc.3 149 11/7/2025
10.0.1-rc.2 196 11/6/2025
10.0.0-rc.2 181 10/28/2025
9.1.13 332 11/7/2025
9.1.12 362 11/6/2025
9.1.10 352 10/24/2025
9.1.9 696 7/21/2025
9.1.8 305 7/18/2025
9.1.7 305 7/18/2025
Loading failed