DotNetBrightener.Plugins.EventPubSub.DependencyInjection
2024.0.11.8120
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2024.0.11.8120
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2024.0.11.8120
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="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2024.0.11.8120" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2024.0.11.8120
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2024.0.11.8120"
#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.
// Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Addin
#addin nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2024.0.11.8120
// Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Tool
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2024.0.11.8120
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Extensions for ASP.NET Core of Event Publish/Subscribe Library
© DotNet Brightener
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 minimal API.
// 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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- DotNetBrightener.Plugins.EventPubSub (>= 2024.0.11.8120)
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 |
---|---|---|
2024.0.14.3 | 43 | 6/21/2024 |
2024.0.14.1 | 82 | 6/6/2024 |
2024.0.14.1-preview | 74 | 6/6/2024 |
2024.0.14-preview-1 | 73 | 6/6/2024 |
2024.0.13.8-preview | 81 | 6/6/2024 |
2024.0.13.1-preview-0146 | 79 | 6/6/2024 |
2024.0.12.15803-preview-03 | 79 | 6/6/2024 |
2024.0.12.15608 | 85 | 6/4/2024 |
2024.0.12.15515 | 157 | 6/3/2024 |
2024.0.12.15220 | 82 | 5/31/2024 |
2024.0.12.15220-alpha31-240... | 68 | 5/31/2024 |
2024.0.12.14911 | 114 | 5/28/2024 |
2024.0.12.14910-alpha28-240... | 76 | 5/28/2024 |
2024.0.12.14823 | 95 | 5/27/2024 |
2024.0.12.14522-alpha7-2405... | 80 | 5/24/2024 |
2024.0.12.14514-alpha6-2405... | 79 | 5/24/2024 |
2024.0.12.14511 | 109 | 5/24/2024 |
2024.0.12.14314 | 122 | 5/22/2024 |
2024.0.12.14114 | 105 | 5/20/2024 |
2024.0.12.12815 | 135 | 5/7/2024 |
2024.0.12.12814 | 99 | 5/7/2024 |
2024.0.12.12721 | 113 | 5/6/2024 |
2024.0.12.12702 | 96 | 5/5/2024 |
2024.0.12.12622 | 108 | 5/5/2024 |
2024.0.12.12514 | 88 | 5/4/2024 |
2024.0.12.12512 | 93 | 5/4/2024 |
2024.0.12.12510 | 90 | 5/4/2024 |
2024.0.12.12420 | 74 | 5/3/2024 |
2024.0.12.12319 | 44 | 5/2/2024 |
2024.0.12.12319-rc-2405021801 | 33 | 5/2/2024 |
2024.0.12.12318 | 44 | 5/2/2024 |
2024.0.12.12215 | 82 | 5/1/2024 |
2024.0.12.12011 | 90 | 4/29/2024 |
2024.0.12.11720 | 100 | 4/26/2024 |
2024.0.12.11719 | 97 | 4/26/2024 |
2024.0.12.11621 | 104 | 4/25/2024 |
2024.0.12.11523 | 91 | 4/24/2024 |
2024.0.12.11522 | 91 | 4/24/2024 |
2024.0.12.11417 | 108 | 4/23/2024 |
2024.0.12.11400 | 95 | 4/22/2024 |
2024.0.12.11316 | 94 | 4/22/2024 |
2024.0.11.10220 | 82 | 4/11/2024 |
2024.0.11.10120 | 82 | 4/10/2024 |
2024.0.11.10119 | 75 | 4/10/2024 |
2024.0.11.10115 | 75 | 4/10/2024 |
2024.0.11.9914 | 97 | 4/8/2024 |
2024.0.11.9901 | 86 | 4/7/2024 |
2024.0.11.9823 | 92 | 4/7/2024 |
2024.0.11.9401 | 100 | 4/2/2024 |
2024.0.11.9301 | 79 | 4/1/2024 |
2024.0.11.9206 | 85 | 3/31/2024 |
2024.0.11.9205 | 88 | 3/31/2024 |
2024.0.11.8200 | 109 | 3/21/2024 |
2024.0.11.8122 | 80 | 3/21/2024 |
2024.0.11.8120 | 90 | 3/21/2024 |
2024.0.11.7320 | 142 | 3/13/2024 |
2024.0.11.7316 | 108 | 3/13/2024 |
2024.0.11.7310 | 90 | 3/13/2024 |
2024.0.11 | 91 | 3/13/2024 |
2024.0.10 | 116 | 3/3/2024 |
2024.0.9 | 112 | 2/27/2024 |
2024.0.8 | 144 | 2/1/2024 |
2024.0.7 | 101 | 1/26/2024 |
2024.0.6 | 97 | 1/25/2024 |
2024.0.5 | 87 | 1/24/2024 |
2024.0.4 | 82 | 1/24/2024 |
2024.0.3 | 104 | 1/22/2024 |
2024.0.2 | 154 | 1/10/2024 |
2024.0.1 | 98 | 1/9/2024 |
2024.0.1-alpha-3 | 89 | 1/9/2024 |
2024.0.1-alpha-2 | 57 | 1/9/2024 |
2024.0.1-alpha-1 | 92 | 1/3/2024 |
2024.0.0 | 148 | 12/26/2023 |
2023.0.27 | 146 | 12/21/2023 |
2023.0.26 | 97 | 12/21/2023 |
2023.0.25 | 127 | 12/11/2023 |
2023.0.24 | 111 | 12/8/2023 |
2023.0.23 | 105 | 12/6/2023 |
2023.0.21 | 132 | 12/4/2023 |
2023.0.20 | 152 | 11/27/2023 |
2023.0.19 | 114 | 11/20/2023 |
2023.0.18 | 134 | 10/25/2023 |
2023.0.17 | 182 | 10/22/2023 |
2023.0.16 | 181 | 10/16/2023 |
2023.0.16-alpha-1 | 77 | 10/16/2023 |
2023.0.15 | 135 | 10/14/2023 |
2023.0.14 | 107 | 10/14/2023 |
2023.0.13 | 100 | 10/14/2023 |
2023.0.12 | 101 | 10/14/2023 |
2023.0.11 | 96 | 10/10/2023 |
2023.0.10 | 110 | 10/9/2023 |
2023.0.9 | 181 | 8/16/2023 |
2023.0.8 | 129 | 8/15/2023 |
2023.0.8-alpha-2 | 205 | 5/31/2023 |
2023.0.7 | 133 | 5/12/2023 |
2023.0.6 | 164 | 5/10/2023 |
2023.0.5 | 116 | 5/7/2023 |
2023.0.4 | 147 | 4/22/2023 |
2023.0.3 | 181 | 4/19/2023 |
2023.0.2 | 179 | 4/6/2023 |
2023.0.1 | 201 | 3/13/2023 |
2022.11.0 | 310 | 11/21/2022 |
2022.10.0 | 377 | 10/15/2022 |
2022.9.0 | 339 | 9/5/2022 |