TKWF.Domain.Testing.xUnit 4.9.7

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

TKWF.Framework — 龙爸出品

领域级 .NET 支撑框架,提供统一的领域驱动基础设施、代码生成器、跨平台客户端支持。

当前版本:4.6.8(目标框架:.NET 10 / .NET 9 / .NET Standard 2.0)


目录结构

_Framework/                  核心框架
├── Tools/                    工具类、扩展方法、实用函数
├── Cryptography/            加密/解密基础设施
├── Domain/                  领域驱动设计抽象(实体、值对象、领域服务、仓储接口)
├── Abstractions/            纯抽象层(接口、枚举、属性、POCO,netstandard2.1)

_Domain.Api/                 API 客户端
├── ApiClient/               HTTP 客户端基座
├── ApiClient.Rest/          RESTful 客户端实现
└── ApiClient.GraphQL/       GraphQL 客户端实现

_Domain.ApiService/          服务端 API 实现
├── MinimalApi/              Minimal API 集成
└── HotChocolate/            GraphQL (HotChocolate) 集成

_Domain.SG/                  源代码生成器
├── ApiService.SG/           服务端接口 + 客户端代理源代码生成器
├── CodeGeneration.Abstractions/  代码生成抽象
└── CodeGeneration/          通用代码生成器

_Domain.Infrastructure/      基础设施实现
├── Web/                     ASP.NET Core 中间件/过滤器
├── Blazor/                  Blazor 组件库
├── FreeSql/                 FreeSql ORM 集成
└── Maui/                    .NET MAUI 支持

_Domain.Testing/             测试工具
└── xUnit/                   xUnit 测试基类与扩展

_xCodeGen/                   CLI 代码生成工具
├── xCodeGen.Core/           生成引擎
└── xCodeGen.Cli/            命令行入口

_Tests/                      测试项目
├── ControllerGeneratorTest/
├── Domain.ApiService.HotChocolate.Tests/
└── Domain.ApiService.SG.Tests/

_ts-domain-client/           TypeScript 客户端 SDK

docs/                        框架文档

快速开始


<PackageReference Include="TKWF.Domain" Version="4.6.5" />

构建要求

  • .NET SDK 10.0+
  • Visual Studio 2022+ / Rider
dotnet restore TKW.Framework.slnx
dotnet build TKW.Framework.slnx -c Release

许可证

Copyright © LoongBa.cn 2026

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.9.7 37 7/30/2026
4.9.6 86 7/27/2026
4.6.8 88 7/19/2026
4.6.7 88 7/19/2026
4.6.4 89 7/18/2026