DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.10

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2025.0.10
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.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="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2025.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2025.0.10" />
                    
Directory.Packages.props
<PackageReference Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" />
                    
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 DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2025.0.10
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.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 DotNetBrightener.Plugins.EventPubSub.DependencyInjection@2025.0.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=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.10
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.10
                    
Install as a Cake Tool

Extensions for ASP.NET Core of Event Publish/Subscribe Library

© 2025 DotNet Brightener

NuGet Version

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 Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (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.1-preview-notificati... 265 12/6/2025
2026.0.1-preview-net10-upgr... 203 11/25/2025
2026.0.1-preview-net10-upgr... 206 11/25/2025
2026.0.1-preview-net10-upgr... 203 11/24/2025
2026.0.1-preview-net10-upgr... 227 11/24/2025
2026.0.1-preview-728 116 1/20/2026
2026.0.1-preview-723 113 1/15/2026
2026.0.1-preview-721 121 1/15/2026
2026.0.1-preview-717 131 1/5/2026
2026.0.1-preview-713 496 12/10/2025
2026.0.1-preview-700 235 12/7/2025
2026.0.1-preview-689 128 12/6/2025
2026.0.1-preview-676 699 12/2/2025
2026.0.1-preview-671 136 11/29/2025
2026.0.1-preview-670 133 11/29/2025
2026.0.1-preview-669 134 11/29/2025
2026.0.1-preview-667 205 11/27/2025
2026.0.1-preview-665 194 11/27/2025
2026.0.1-preview-664 201 11/27/2025
2026.0.1-preview-660 209 11/25/2025
2025.0.10 245 11/25/2025
2025.0.10-preview-628 444 11/20/2025
2025.0.10-preview-605 317 11/17/2025
2025.0.10-preview-602 313 11/17/2025
2025.0.10-preview-581 340 11/11/2025
2025.0.10-preview-559 235 10/29/2025
2025.0.10-preview-557 232 10/27/2025
2025.0.9 246 10/26/2025
2025.0.9-preview-553 213 10/26/2025
2025.0.9-preview-539 157 10/12/2025
2025.0.9-preview-535 211 10/8/2025
2025.0.9-preview-509 235 10/2/2025
2025.0.9-preview-508 224 10/2/2025
2025.0.9-preview-487 243 9/29/2025
2025.0.9-preview-481 220 9/29/2025
2025.0.9-preview-473 196 9/28/2025
2025.0.8 266 9/23/2025
2025.0.6 252 9/22/2025
2025.0.6-preview-455 241 9/22/2025
2025.0.6-preview-454 326 9/17/2025
2025.0.6-preview-441 167 9/14/2025
2025.0.6-preview-440 184 9/14/2025
2025.0.6-preview-406 229 9/2/2025
2025.0.6-preview-401 195 9/2/2025
2025.0.6-preview-400 197 9/2/2025
2025.0.6-preview-369 242 8/27/2025
2025.0.6-preview-368 238 8/27/2025
2025.0.6-preview-334 203 8/18/2025
2025.0.6-preview-333 152 7/27/2025
2025.0.6-preview-332 523 7/24/2025
2025.0.6-preview-331 530 7/24/2025
2025.0.6-preview-328 530 7/24/2025
2025.0.6-preview-327 400 7/21/2025
2025.0.6-preview-326 390 7/21/2025
2025.0.6-preview-325 309 7/20/2025
2025.0.6-preview-324 288 7/20/2025
2025.0.6-preview-322 288 7/20/2025
2025.0.6-preview-321 290 7/19/2025
2025.0.6-preview-320 295 7/19/2025
2025.0.6-preview-319 198 7/17/2025
2025.0.6-preview-317 202 7/17/2025
2025.0.6-preview-316 199 7/17/2025
2025.0.6-preview-315 195 7/17/2025
2025.0.6-preview-314 197 7/17/2025
2025.0.6-preview-313 200 7/17/2025
2025.0.6-preview-312 198 7/16/2025
2025.0.5 244 7/10/2025
2025.0.5-preview-307 140 7/5/2025
2025.0.4 155 7/5/2025
2025.0.4-preview-305 151 7/4/2025
2025.0.4-preview-304 198 7/1/2025
2025.0.4-preview-299 194 5/31/2025
2025.0.4-preview-298 154 5/30/2025
2025.0.4-preview-296 205 5/30/2025
2025.0.4-preview-295 214 5/29/2025
2025.0.4-preview-293 196 5/26/2025
2025.0.4-preview-292 213 5/26/2025
2025.0.3 243 2/10/2025
2025.0.3-preview-288 173 2/10/2025
2025.0.2 220 1/21/2025
2025.0.2-preview-278 148 1/21/2025
2025.0.2-preview-277 164 12/16/2024
2025.0.1-rc-243301701 456 11/25/2024
2024.0.14.6 231 11/25/2024
2024.0.14.6-rc-243031001 245 10/29/2024
2024.0.14.6-rc-243030701 200 10/29/2024
2024.0.14.6-rc-242840501 178 10/10/2024
2024.0.14.6-rc-242820305 169 10/8/2024
2024.0.14.6-rc-242771401 306 10/3/2024
2024.0.14.6-rc-242770501 168 10/3/2024
2024.0.14.6-rc-242770201 185 10/3/2024
2024.0.14.6-rc-242761801 173 10/2/2024
2024.0.14.6-rc-242761601 187 10/2/2024
2024.0.14.6-rc-242761501 164 10/2/2024
2024.0.14.6-rc-242761401 183 10/2/2024
2024.0.14.6-rc-242760701 197 10/2/2024
2024.0.14.6-rc-242751002 184 10/1/2024
2024.0.14.6-rc-242750901 192 10/1/2024
2024.0.14.6-rc-242750502 168 10/1/2024
2024.0.14.6-rc-242750201 190 10/1/2024
2024.0.14.6-rc-242741501 164 9/30/2024
2024.0.14.6-rc-242730701 188 9/29/2024
2024.0.14.6-preview-2730501 172 9/29/2024
2024.0.14.6-preview-2701501 220 9/26/2024
2024.0.14.6-preview-2620901 212 9/18/2024
2024.0.14.6-preview-2570701 202 9/13/2024
2024.0.14.6-preview-2510703 263 9/7/2024
2024.0.14.6-preview-2480501 208 9/4/2024
2024.0.14.6-preview-2430401 224 8/30/2024
2024.0.14.6-preview-242730701 189 9/29/2024
2024.0.14.6-preview-2421703 205 8/29/2024
2024.0.14.6-preview-2421701 188 8/29/2024
2024.0.14.6-preview-2420901 196 8/29/2024
2024.0.14.6-preview-2390101 207 8/26/2024
2024.0.14.6-preview-2381603 205 8/25/2024
2024.0.14.6-preview-2341601 222 8/21/2024
2024.0.14.6-preview-2321602 233 8/20/2024
2024.0.14.6-preview-2190801 223 8/6/2024
2024.0.14.6-preview-2041501 184 7/22/2024
2024.0.14.6-preview-1920603 249 7/10/2024
2024.0.14.6-preview-1920301 194 7/10/2024
2024.0.14.6-preview-1911302 209 7/9/2024
2024.0.14.6-preview-1901001 199 7/8/2024
2024.0.14.6-preview-1900901 199 7/8/2024
2024.0.14.6-preview-1900801 184 7/8/2024
2024.0.14.6-preview-1860304 193 7/4/2024
2024.0.14.5 288 7/1/2024
2024.0.14.5-preview-1811601 199 6/29/2024
2024.0.14.5-preview-1810501 219 6/29/2024
2024.0.14.5-preview-180132 218 6/28/2024
2024.0.14.5-preview-180131 191 6/28/2024
2024.0.14.5-preview-180121 187 6/28/2024
2024.0.14.4 263 6/27/2024
2024.0.14.4-preview-7 187 6/27/2024
2024.0.14.3 261 6/21/2024
2024.0.14.1 237 6/6/2024
2024.0.14.1-preview 203 6/6/2024
2024.0.14-preview-1 173 6/6/2024
2024.0.13.8-preview 191 6/6/2024
2024.0.13.1-preview-0146 204 6/6/2024
2024.0.12.15803-preview-03 192 6/6/2024
2024.0.12.15608 238 6/4/2024
2024.0.12.15515 328 6/3/2024
2024.0.12.15220 225 5/31/2024
2024.0.12.15220-alpha31-240... 195 5/31/2024
2024.0.12.14911 292 5/28/2024
2024.0.12.14910-alpha28-240... 202 5/28/2024
2024.0.12.14823 259 5/27/2024
2024.0.12.14522-alpha7-2405... 191 5/24/2024
2024.0.12.14514-alpha6-2405... 194 5/24/2024
2024.0.12.14511 257 5/24/2024
2024.0.12.14314 285 5/22/2024
2024.0.12.14114 271 5/20/2024
2024.0.12.12815 302 5/7/2024
2024.0.12.12814 252 5/7/2024
2024.0.12.12721 263 5/6/2024
2024.0.12.12702 247 5/5/2024
2024.0.12.12622 238 5/5/2024
2024.0.12.12514 226 5/4/2024
2024.0.12.12512 255 5/4/2024
2024.0.12.12510 245 5/4/2024
2024.0.12.12420 213 5/3/2024
2024.0.12.12319 203 5/2/2024
2024.0.12.12319-rc-2405021801 139 5/2/2024
2024.0.12.12318 171 5/2/2024
2024.0.12.12215 215 5/1/2024
2024.0.12.12011 247 4/29/2024
2024.0.12.11720 228 4/26/2024
2024.0.12.11719 238 4/26/2024
2024.0.12.11621 235 4/25/2024
2024.0.12.11523 221 4/24/2024
2024.0.12.11522 225 4/24/2024
2024.0.12.11417 244 4/23/2024
2024.0.12.11400 257 4/22/2024
2024.0.12.11316 249 4/22/2024
2024.0.11.10220 218 4/11/2024
2024.0.11.10120 235 4/10/2024
2024.0.11.10119 203 4/10/2024
2024.0.11.10115 212 4/10/2024
2024.0.11.9914 246 4/8/2024
2024.0.11.9901 228 4/7/2024
2024.0.11.9823 228 4/7/2024
2024.0.11.9401 224 4/2/2024
2024.0.11.9301 229 4/1/2024
2024.0.11.9206 219 3/31/2024
2024.0.11.9205 223 3/31/2024
2024.0.11.8200 243 3/21/2024
2024.0.11.8122 216 3/21/2024
2024.0.11.8120 213 3/21/2024
2024.0.11.7320 269 3/13/2024
2024.0.11.7316 250 3/13/2024
2024.0.11.7310 240 3/13/2024
2024.0.11 227 3/13/2024
2024.0.10 259 3/3/2024
2024.0.9 258 2/27/2024
2024.0.8 301 2/1/2024
2024.0.7 249 1/26/2024
2024.0.6 227 1/25/2024
2024.0.5 214 1/24/2024
2024.0.4 214 1/24/2024
2024.0.3 238 1/22/2024
2024.0.2 283 1/10/2024
2024.0.1 231 1/9/2024
2024.0.1-alpha-3 206 1/9/2024
2024.0.1-alpha-2 169 1/9/2024
2024.0.1-alpha-1 214 1/3/2024
2024.0.0 285 12/26/2023
2023.0.27 275 12/21/2023
2023.0.26 236 12/21/2023
2023.0.25 270 12/11/2023
2023.0.24 240 12/8/2023
2023.0.23 214 12/6/2023
2023.0.21 252 12/4/2023
2023.0.20 256 11/27/2023
2023.0.19 216 11/20/2023
2023.0.18 235 10/25/2023
2023.0.17 288 10/22/2023
2023.0.16 309 10/16/2023
2023.0.16-alpha-1 198 10/16/2023
2023.0.15 243 10/14/2023
2023.0.14 219 10/14/2023
2023.0.13 202 10/14/2023
2023.0.12 207 10/14/2023
2023.0.11 204 10/10/2023
2023.0.10 214 10/9/2023
2023.0.9 316 8/16/2023
2023.0.8 253 8/15/2023
2023.0.8-alpha-2 344 5/31/2023
2023.0.7 283 5/12/2023
2023.0.6 492 5/10/2023
2023.0.5 270 5/7/2023
2023.0.4 302 4/22/2023
2023.0.3 339 4/19/2023
2023.0.2 346 4/6/2023
2023.0.1 366 3/13/2023
2022.11.0 455 11/21/2022
2022.10.0 526 10/15/2022
2022.9.0 513 9/5/2022