CodeWF.Toolkit.EventBus.AspNetCore
1.1.10
dotnet add package CodeWF.Toolkit.EventBus.AspNetCore --version 1.1.10
NuGet\Install-Package CodeWF.Toolkit.EventBus.AspNetCore -Version 1.1.10
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="CodeWF.Toolkit.EventBus.AspNetCore" Version="1.1.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.Toolkit.EventBus.AspNetCore" Version="1.1.10" />
<PackageReference Include="CodeWF.Toolkit.EventBus.AspNetCore" />
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 CodeWF.Toolkit.EventBus.AspNetCore --version 1.1.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeWF.Toolkit.EventBus.AspNetCore, 1.1.10"
#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 CodeWF.Toolkit.EventBus.AspNetCore@1.1.10
#: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=CodeWF.Toolkit.EventBus.AspNetCore&version=1.1.10
#tool nuget:?package=CodeWF.Toolkit.EventBus.AspNetCore&version=1.1.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CodeWF.Toolkit.EventBus.AspNetCore
事件总线的 ASP.NET Core 集成:依赖注入注册、请求管线启动与处理器自动发现。ASP.NET Core integration for the event bus.
安装
dotnet add package CodeWF.Toolkit.EventBus.AspNetCore
依赖 FrameworkReference Microsoft.AspNetCore.App 与本仓 CodeWF.Toolkit.EventBus、CodeWF.Toolkit.Lang(随包自动安装);目标框架 net10.0。
用法
var builder = WebApplication.CreateBuilder(args);
// 注册事件总线并扫描处理器程序集
builder.Services.AddEventBus(typeof(SomeHandler).Assembly);
var app = builder.Build();
// 请求管线启动事件总线
app.UseEventBus(typeof(SomeHandler).Assembly);
处理器自动发现,适合 WebAPI 后台事件;进程内总线的订阅、Command/Query 用法与核心包一致,见 CodeWF.Toolkit.EventBus。
文档
| 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
- CodeWF.Toolkit.EventBus (>= 1.1.10)
- CodeWF.Toolkit.Lang (>= 1.1.10)
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 |
|---|---|---|
| 1.1.10 | 50 | 11/20/2026 |
| 1.1.9 | 87 | 11/16/2026 |
| 1.1.8 | 93 | 11/16/2026 |
| 1.1.7 | 83 | 11/16/2026 |
| 1.1.6 | 101 | 11/8/2026 |
| 1.1.5 | 83 | 11/8/2026 |
| 1.1.4 | 83 | 11/8/2026 |
| 1.1.3 | 95 | 11/8/2026 |
| 1.1.2 | 107 | 11/1/2026 |
| 1.1.1 | 102 | 10/26/2026 |
| 1.1.0 | 101 | 10/22/2026 |
| 1.1.0-alpha.1 | 73 | 10/21/2026 |
| 1.0.0.27 | 96 | 10/19/2026 |
| 1.0.0.26 | 100 | 10/16/2026 |
| 1.0.0.25 | 98 | 10/16/2026 |
| 1.0.0.24 | 109 | 10/15/2026 |
| 1.0.0.23 | 105 | 10/15/2026 |
| 1.0.0.22 | 98 | 10/15/2026 |
| 1.0.0.20 | 96 | 10/15/2026 |
| 1.0.0.19 | 111 | 10/15/2026 |
Loading failed