DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.6-preview-319

This is a prerelease version of DotNetBrightener.Plugins.EventPubSub.DependencyInjection.
There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2025.0.6-preview-319
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.6-preview-319
                    
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.6-preview-319" />
                    
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.6-preview-319" />
                    
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.6-preview-319
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.6-preview-319"
                    
#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.6-preview-319
                    
#: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.6-preview-319&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.6-preview-319&prerelease
                    
Install as a Cake Tool

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

© 2024 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... 246 12/6/2025
2026.0.1-preview-net10-upgr... 194 11/25/2025
2026.0.1-preview-net10-upgr... 193 11/25/2025
2026.0.1-preview-net10-upgr... 193 11/24/2025
2026.0.1-preview-net10-upgr... 219 11/24/2025
2026.0.1-preview-713 472 12/10/2025
2026.0.1-preview-700 231 12/7/2025
2026.0.1-preview-689 121 12/6/2025
2026.0.1-preview-676 686 12/2/2025
2026.0.1-preview-671 129 11/29/2025
2026.0.1-preview-670 126 11/29/2025
2026.0.1-preview-669 127 11/29/2025
2026.0.1-preview-667 195 11/27/2025
2026.0.1-preview-665 184 11/27/2025
2026.0.1-preview-664 193 11/27/2025
2026.0.1-preview-660 198 11/25/2025
2025.0.10 228 11/25/2025
2025.0.10-preview-628 431 11/20/2025
2025.0.10-preview-605 308 11/17/2025
2025.0.10-preview-602 305 11/17/2025
2025.0.10-preview-581 324 11/11/2025
2025.0.10-preview-559 225 10/29/2025
2025.0.10-preview-557 218 10/27/2025
2025.0.9 227 10/26/2025
2025.0.9-preview-553 208 10/26/2025
2025.0.9-preview-539 148 10/12/2025
2025.0.9-preview-535 201 10/8/2025
2025.0.9-preview-509 227 10/2/2025
2025.0.9-preview-508 213 10/2/2025
2025.0.9-preview-487 232 9/29/2025
2025.0.9-preview-481 210 9/29/2025
2025.0.9-preview-473 189 9/28/2025
2025.0.8 245 9/23/2025
2025.0.6 238 9/22/2025
2025.0.6-preview-455 225 9/22/2025
2025.0.6-preview-454 322 9/17/2025
2025.0.6-preview-441 157 9/14/2025
2025.0.6-preview-440 175 9/14/2025
2025.0.6-preview-406 221 9/2/2025
2025.0.6-preview-401 183 9/2/2025
2025.0.6-preview-400 190 9/2/2025
2025.0.6-preview-369 232 8/27/2025
2025.0.6-preview-368 227 8/27/2025
2025.0.6-preview-334 193 8/18/2025
2025.0.6-preview-333 142 7/27/2025
2025.0.6-preview-332 512 7/24/2025
2025.0.6-preview-331 520 7/24/2025
2025.0.6-preview-328 518 7/24/2025
2025.0.6-preview-327 392 7/21/2025
2025.0.6-preview-326 379 7/21/2025
2025.0.6-preview-325 302 7/20/2025
2025.0.6-preview-324 275 7/20/2025
2025.0.6-preview-322 281 7/20/2025
2025.0.6-preview-321 280 7/19/2025
2025.0.6-preview-320 284 7/19/2025
2025.0.6-preview-319 190 7/17/2025
2025.0.6-preview-317 192 7/17/2025
2025.0.6-preview-316 188 7/17/2025
2025.0.6-preview-315 189 7/17/2025
2025.0.6-preview-314 188 7/17/2025
2025.0.6-preview-313 192 7/17/2025
2025.0.6-preview-312 190 7/16/2025
2025.0.5 225 7/10/2025
2025.0.5-preview-307 133 7/5/2025
2025.0.4 140 7/5/2025
2025.0.4-preview-305 142 7/4/2025
2025.0.4-preview-304 192 7/1/2025
2025.0.4-preview-299 179 5/31/2025
2025.0.4-preview-298 146 5/30/2025
2025.0.4-preview-296 195 5/30/2025
2025.0.4-preview-295 205 5/29/2025
2025.0.4-preview-293 189 5/26/2025
2025.0.4-preview-292 199 5/26/2025
2025.0.3 230 2/10/2025
2025.0.3-preview-288 165 2/10/2025
2025.0.2 203 1/21/2025
2025.0.2-preview-278 142 1/21/2025
2025.0.2-preview-277 160 12/16/2024
2025.0.1-rc-243301701 447 11/25/2024
2024.0.14.6 221 11/25/2024
2024.0.14.6-rc-243031001 236 10/29/2024
2024.0.14.6-rc-243030701 189 10/29/2024
2024.0.14.6-rc-242840501 167 10/10/2024
2024.0.14.6-rc-242820305 158 10/8/2024
2024.0.14.6-rc-242771401 295 10/3/2024
2024.0.14.6-rc-242770501 159 10/3/2024
2024.0.14.6-rc-242770201 174 10/3/2024
2024.0.14.6-rc-242761801 165 10/2/2024
2024.0.14.6-rc-242761601 178 10/2/2024
2024.0.14.6-rc-242761501 156 10/2/2024
2024.0.14.6-rc-242761401 175 10/2/2024
2024.0.14.6-rc-242760701 188 10/2/2024
2024.0.14.6-rc-242751002 175 10/1/2024
2024.0.14.6-rc-242750901 181 10/1/2024
2024.0.14.6-rc-242750502 161 10/1/2024
2024.0.14.6-rc-242750201 181 10/1/2024
2024.0.14.6-rc-242741501 147 9/30/2024
2024.0.14.6-rc-242730701 178 9/29/2024
2024.0.14.6-preview-2730501 163 9/29/2024
2024.0.14.6-preview-2701501 204 9/26/2024
2024.0.14.6-preview-2620901 207 9/18/2024
2024.0.14.6-preview-2570701 188 9/13/2024
2024.0.14.6-preview-2510703 253 9/7/2024
2024.0.14.6-preview-2480501 194 9/4/2024
2024.0.14.6-preview-2430401 216 8/30/2024
2024.0.14.6-preview-242730701 173 9/29/2024
2024.0.14.6-preview-2421703 197 8/29/2024
2024.0.14.6-preview-2421701 178 8/29/2024
2024.0.14.6-preview-2420901 183 8/29/2024
2024.0.14.6-preview-2390101 198 8/26/2024
2024.0.14.6-preview-2381603 194 8/25/2024
2024.0.14.6-preview-2341601 208 8/21/2024
2024.0.14.6-preview-2321602 224 8/20/2024
2024.0.14.6-preview-2190801 213 8/6/2024
2024.0.14.6-preview-2041501 176 7/22/2024
2024.0.14.6-preview-1920603 239 7/10/2024
2024.0.14.6-preview-1920301 184 7/10/2024
2024.0.14.6-preview-1911302 197 7/9/2024
2024.0.14.6-preview-1901001 187 7/8/2024
2024.0.14.6-preview-1900901 188 7/8/2024
2024.0.14.6-preview-1900801 179 7/8/2024
2024.0.14.6-preview-1860304 182 7/4/2024
2024.0.14.5 271 7/1/2024
2024.0.14.5-preview-1811601 186 6/29/2024
2024.0.14.5-preview-1810501 211 6/29/2024
2024.0.14.5-preview-180132 208 6/28/2024
2024.0.14.5-preview-180131 180 6/28/2024
2024.0.14.5-preview-180121 174 6/28/2024
2024.0.14.4 246 6/27/2024
2024.0.14.4-preview-7 180 6/27/2024
2024.0.14.3 243 6/21/2024
2024.0.14.1 224 6/6/2024
2024.0.14.1-preview 192 6/6/2024
2024.0.14-preview-1 163 6/6/2024
2024.0.13.8-preview 179 6/6/2024
2024.0.13.1-preview-0146 190 6/6/2024
2024.0.12.15803-preview-03 183 6/6/2024
2024.0.12.15608 224 6/4/2024
2024.0.12.15515 312 6/3/2024
2024.0.12.15220 209 5/31/2024
2024.0.12.15220-alpha31-240... 184 5/31/2024
2024.0.12.14911 278 5/28/2024
2024.0.12.14910-alpha28-240... 189 5/28/2024
2024.0.12.14823 245 5/27/2024
2024.0.12.14522-alpha7-2405... 184 5/24/2024
2024.0.12.14514-alpha6-2405... 185 5/24/2024
2024.0.12.14511 242 5/24/2024
2024.0.12.14314 270 5/22/2024
2024.0.12.14114 259 5/20/2024
2024.0.12.12815 289 5/7/2024
2024.0.12.12814 239 5/7/2024
2024.0.12.12721 246 5/6/2024
2024.0.12.12702 229 5/5/2024
2024.0.12.12622 223 5/5/2024
2024.0.12.12514 215 5/4/2024
2024.0.12.12512 241 5/4/2024
2024.0.12.12510 225 5/4/2024
2024.0.12.12420 200 5/3/2024
2024.0.12.12319 189 5/2/2024
2024.0.12.12319-rc-2405021801 126 5/2/2024
2024.0.12.12318 162 5/2/2024
2024.0.12.12215 203 5/1/2024
2024.0.12.12011 231 4/29/2024
2024.0.12.11720 215 4/26/2024
2024.0.12.11719 224 4/26/2024
2024.0.12.11621 222 4/25/2024
2024.0.12.11523 211 4/24/2024
2024.0.12.11522 210 4/24/2024
2024.0.12.11417 230 4/23/2024
2024.0.12.11400 237 4/22/2024
2024.0.12.11316 235 4/22/2024
2024.0.11.10220 201 4/11/2024
2024.0.11.10120 213 4/10/2024
2024.0.11.10119 186 4/10/2024
2024.0.11.10115 200 4/10/2024
2024.0.11.9914 232 4/8/2024
2024.0.11.9901 210 4/7/2024
2024.0.11.9823 209 4/7/2024
2024.0.11.9401 211 4/2/2024
2024.0.11.9301 217 4/1/2024
2024.0.11.9206 206 3/31/2024
2024.0.11.9205 203 3/31/2024
2024.0.11.8200 229 3/21/2024
2024.0.11.8122 201 3/21/2024
2024.0.11.8120 205 3/21/2024
2024.0.11.7320 257 3/13/2024
2024.0.11.7316 238 3/13/2024
2024.0.11.7310 225 3/13/2024
2024.0.11 206 3/13/2024
2024.0.10 241 3/3/2024
2024.0.9 234 2/27/2024
2024.0.8 278 2/1/2024
2024.0.7 225 1/26/2024
2024.0.6 209 1/25/2024
2024.0.5 197 1/24/2024
2024.0.4 199 1/24/2024
2024.0.3 222 1/22/2024
2024.0.2 266 1/10/2024
2024.0.1 216 1/9/2024
2024.0.1-alpha-3 191 1/9/2024
2024.0.1-alpha-2 160 1/9/2024
2024.0.1-alpha-1 205 1/3/2024
2024.0.0 268 12/26/2023
2023.0.27 252 12/21/2023
2023.0.26 212 12/21/2023
2023.0.25 252 12/11/2023
2023.0.24 220 12/8/2023
2023.0.23 201 12/6/2023
2023.0.21 240 12/4/2023
2023.0.20 240 11/27/2023
2023.0.19 204 11/20/2023
2023.0.18 223 10/25/2023
2023.0.17 274 10/22/2023
2023.0.16 291 10/16/2023
2023.0.16-alpha-1 182 10/16/2023
2023.0.15 231 10/14/2023
2023.0.14 206 10/14/2023
2023.0.13 192 10/14/2023
2023.0.12 198 10/14/2023
2023.0.11 192 10/10/2023
2023.0.10 203 10/9/2023
2023.0.9 305 8/16/2023
2023.0.8 243 8/15/2023
2023.0.8-alpha-2 335 5/31/2023
2023.0.7 274 5/12/2023
2023.0.6 477 5/10/2023
2023.0.5 260 5/7/2023
2023.0.4 291 4/22/2023
2023.0.3 331 4/19/2023
2023.0.2 337 4/6/2023
2023.0.1 346 3/13/2023
2022.11.0 440 11/21/2022
2022.10.0 508 10/15/2022
2022.9.0 496 9/5/2022