XiHan.Framework.Profiles.Standard
5.0.0-preview.1
Prefix Reserved
See the version list below for details.
dotnet add package XiHan.Framework.Profiles.Standard --version 5.0.0-preview.1
NuGet\Install-Package XiHan.Framework.Profiles.Standard -Version 5.0.0-preview.1
<PackageReference Include="XiHan.Framework.Profiles.Standard" Version="5.0.0-preview.1" />
<PackageVersion Include="XiHan.Framework.Profiles.Standard" Version="5.0.0-preview.1" />
<PackageReference Include="XiHan.Framework.Profiles.Standard" />
paket add XiHan.Framework.Profiles.Standard --version 5.0.0-preview.1
#r "nuget: XiHan.Framework.Profiles.Standard, 5.0.0-preview.1"
#:package XiHan.Framework.Profiles.Standard@5.0.0-preview.1
#addin nuget:?package=XiHan.Framework.Profiles.Standard&version=5.0.0-preview.1&prerelease
#tool nuget:?package=XiHan.Framework.Profiles.Standard&version=5.0.0-preview.1&prerelease
XiHan.Framework.Profiles.Standard
Standard 组合包(Ring 6):Minimal(含本地化)+ Domain + 五个子系统的抽象与内存默认实现。大多数业务服务从这里开始,零外部基础设施即可运行。
builder.AddXiHan(xihan => xihan
.UseStandardProfile() // Minimal + 五个子系统的内存默认实现(role: default)
.UseFeature<OutboxFeature>() // 可选:事务性发件箱
.UseFeature<OrdersFeature>()); // 业务能力包
UseStandardProfile() 装配:Minimal 的全部(含 InMemoryLocalizationFeature)、InMemoryPersistenceFeature、InMemoryCachingFeature、InMemoryMultiTenancyFeature、InMemorySecurityFeature、InMemoryMessagingFeature。它们都是 role: default:再 UseFeature 一个显式 Provider(EntityFrameworkCorePersistenceFeature、RedisCachingFeature、JwtSecurityFeature、RabbitMQMessagingFeature)即顶替对应能力,被顶替的默认实现不装配、不启动(RFC-0002 第 4 条)。
管道阶段由这些特性填满:Authenticate(ApiKey / JWT)→ Tenant(声明或 Baggage)→ Authorize(策略与权限)→ Idempotency(幂等键)→ Transaction(工作单元)。本地化不占阶段:宿主在 Ingress 把 Accept-Language 协商进 Baggage xihan.locale,在 Egress 用 IMessageLocalizer 把失败结果翻译成 Problem Details 的 detail(默认英文,内置 10 种语言,RFC-0010)。
依赖方向
组合包可引用任何环;被应用引用。Profiles.Full 在此之上加 ObjectStorage、Scheduling、Auditing 的默认实现、OpenTelemetry 导出与四种协议适配器。
状态
P2:可用。
| 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. |
-
net10.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Options (>= 10.0.14)
- System.Threading.RateLimiting (>= 10.0.14)
- XiHan.Framework.Caching.Abstractions (>= 5.0.0-preview.1)
- XiHan.Framework.Caching.InMemory (>= 5.0.0-preview.1)
- XiHan.Framework.Domain (>= 5.0.0-preview.1)
- XiHan.Framework.Messaging.Abstractions (>= 5.0.0-preview.1)
- XiHan.Framework.Messaging.InMemory (>= 5.0.0-preview.1)
- XiHan.Framework.MultiTenancy.Abstractions (>= 5.0.0-preview.1)
- XiHan.Framework.MultiTenancy.InMemory (>= 5.0.0-preview.1)
- XiHan.Framework.Persistence.Abstractions (>= 5.0.0-preview.1)
- XiHan.Framework.Persistence.InMemory (>= 5.0.0-preview.1)
- XiHan.Framework.Profiles.Minimal (>= 5.0.0-preview.1)
- XiHan.Framework.Security.Abstractions (>= 5.0.0-preview.1)
- XiHan.Framework.Security.InMemory (>= 5.0.0-preview.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on XiHan.Framework.Profiles.Standard:
| Package | Downloads |
|---|---|
|
XiHan.Framework.Profiles.Full
曦寒框架 Full 组合包 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0-rc.7 | 66 | 11/23/2026 |
| 5.0.0-rc.6 | 232 | 11/21/2026 |
| 5.0.0-rc.5 | 76 | 11/20/2026 |
| 5.0.0-rc.4 | 64 | 11/19/2026 |
| 5.0.0-rc.3 | 50 | 11/19/2026 |
| 5.0.0-rc.2 | 64 | 11/15/2026 |
| 5.0.0-rc.1 | 212 | 11/13/2026 |
| 5.0.0-preview.3 | 77 | 11/11/2026 |
| 5.0.0-preview.2 | 106 | 11/6/2026 |
| 5.0.0-preview.1 | 64 | 11/4/2026 |