XiHan.Framework.Profiles.Standard 5.0.0-preview.1

Prefix Reserved
This is a prerelease version of XiHan.Framework.Profiles.Standard.
There is a newer prerelease version of this package available.
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
                    
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="XiHan.Framework.Profiles.Standard" Version="5.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XiHan.Framework.Profiles.Standard" Version="5.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="XiHan.Framework.Profiles.Standard" />
                    
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 XiHan.Framework.Profiles.Standard --version 5.0.0-preview.1
                    
#r "nuget: XiHan.Framework.Profiles.Standard, 5.0.0-preview.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 XiHan.Framework.Profiles.Standard@5.0.0-preview.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=XiHan.Framework.Profiles.Standard&version=5.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=XiHan.Framework.Profiles.Standard&version=5.0.0-preview.1&prerelease
                    
Install as a Cake Tool

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

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