DotNetBrightener.Plugins.EventPubSub.DependencyInjection
2026.0.2
See the version list below for details.
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" />
<PackageReference Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" />
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.2
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2026.0.2
Extensions for ASP.NET Core of Event Publish/Subscribe Library
Copyright © 2017 - 2026 Vampire Coder (formerly DotnetBrightener)
Usage
Register at startup
// 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 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
- DotNetBrightener.Plugins.EventPubSub (>= 2026.0.2)
NuGet packages (2)
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 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.0.3-preview-770 | 0 | 4/2/2026 |
| 2026.0.3-preview-769 | 0 | 4/2/2026 |
| 2026.0.2 | 0 | 4/2/2026 |
| 2026.0.2-preview-v2026-0-1-755 | 97 | 3/27/2026 |
| 2026.0.2-preview-759 | 22 | 4/1/2026 |
| 2026.0.2-preview-758 | 77 | 3/29/2026 |
| 2026.0.2-preview-757 | 71 | 3/29/2026 |
| 2026.0.2-preview-756 | 74 | 3/27/2026 |
| 2026.0.2-preview-754 | 69 | 3/27/2026 |
| 2026.0.1 | 74 | 3/27/2026 |
| 2026.0.1-preview-temporal-s... | 130 | 3/14/2026 |
| 2026.0.1-preview-752 | 98 | 3/26/2026 |
| 2026.0.1-preview-750 | 107 | 3/26/2026 |
| 2026.0.1-preview-749 | 115 | 3/25/2026 |
| 2026.0.1-preview-748 | 132 | 3/23/2026 |
| 2026.0.1-preview-742 | 120 | 3/22/2026 |
| 2026.0.1-preview-741 | 132 | 3/16/2026 |
| 2025.0.11-preview-771 | 0 | 4/2/2026 |
| 2025.0.11-preview-768 | 0 | 4/2/2026 |
| 2025.0.11-preview-762 | 0 | 4/2/2026 |