![]() |
VOOZH | about |
dotnet add package DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2026.0.2
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2026.0.2
<PackageReference Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2026.0.2" />
<PackageVersion Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2026.0.2" />Directory.Packages.props
<PackageReference Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" />Project file
paket add DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2026.0.2
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2026.0.2"
#:package DotNetBrightener.Plugins.EventPubSub.DependencyInjection@2026.0.2
#addin nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2026.0.2Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2026.0.2Install as a Cake Tool
Copyright © 2017 - 2026 Vampire Coder (formerly DotnetBrightener)
// register the core Event Pub/Sub service
services.AddEventPubSubService();
// other service registrations
Then register the implementation of IEventHandler by calling
services.AddEventHandler<YourEventModelEventHandler>();
If you want to automatically let the application detect and register all the implementations of IEventHandler, put the following at the end of your ConfigureServices method in Startup.cs if you use Startup.cs file, or before the application run if you use Program.cs file.
// before starting the applications
// load all assemblies that are loaded into the application domain
var applicationAssemblies = AppDomain.CurrentDomain.GetAssemblies();
// Register the implementations of IEventHandler from the above assemblies
services.AddEventHandlersFromAssemblies(applicationAssemblies);
| 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. |
Showing the top 2 NuGet packages that depend on DotNetBrightener.Plugins.EventPubSub.DependencyInjection:
| Package | Downloads |
|---|---|
|
DotNetBrightener.WebApp.CommonShared
Package Description |
|
|
DotNetBrightener.Core.BackgroundTasks.DependencyInjection
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.0.3-preview-777 | 192 | 5/20/2026 |
| 2026.0.3-preview-773 | 177 | 4/24/2026 |
| 2026.0.3-preview-772 | 200 | 4/3/2026 |
| 2026.0.3-preview-770 | 161 | 4/2/2026 |
| 2026.0.3-preview-769 | 155 | 4/2/2026 |
| 2026.0.2 | 175 | 4/2/2026 |
| 2026.0.2-preview-v2026-0-1-755 | 185 | 3/27/2026 |
| 2026.0.2-preview-759 | 170 | 4/1/2026 |
| 2026.0.2-preview-758 | 168 | 3/29/2026 |
| 2026.0.2-preview-757 | 163 | 3/29/2026 |
| 2026.0.2-preview-756 | 160 | 3/27/2026 |
| 2026.0.2-preview-754 | 151 | 3/27/2026 |
| 2026.0.1 | 171 | 3/27/2026 |
| 2026.0.1-preview-752 | 151 | 3/26/2026 |
| 2026.0.1-preview-750 | 152 | 3/26/2026 |
| 2026.0.1-preview-749 | 157 | 3/25/2026 |
| 2025.0.11-preview-776 | 137 | 5/20/2026 |
| 2025.0.11-preview-771 | 139 | 4/2/2026 |
| 2025.0.11-preview-768 | 142 | 4/2/2026 |
| 2025.0.11-preview-762 | 145 | 4/2/2026 |