DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.5-preview-307

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.5-preview-307
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.5-preview-307
                    
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.5-preview-307" />
                    
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.5-preview-307" />
                    
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.5-preview-307
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.5-preview-307"
                    
#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.5-preview-307
                    
#: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.5-preview-307&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.5-preview-307&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
2025.0.10-preview-581 234 11/11/2025
2025.0.10-preview-559 208 10/29/2025
2025.0.10-preview-557 197 10/27/2025
2025.0.9 197 10/26/2025
2025.0.9-preview-553 190 10/26/2025
2025.0.9-preview-539 134 10/12/2025
2025.0.9-preview-535 187 10/8/2025
2025.0.9-preview-509 214 10/2/2025
2025.0.9-preview-508 192 10/2/2025
2025.0.9-preview-487 219 9/29/2025
2025.0.9-preview-481 199 9/29/2025
2025.0.9-preview-473 171 9/28/2025
2025.0.8 220 9/23/2025
2025.0.6 214 9/22/2025
2025.0.6-preview-455 207 9/22/2025
2025.0.6-preview-454 310 9/17/2025
2025.0.6-preview-441 151 9/14/2025
2025.0.6-preview-440 163 9/14/2025
2025.0.6-preview-406 205 9/2/2025
2025.0.6-preview-401 172 9/2/2025
2025.0.6-preview-400 179 9/2/2025
2025.0.6-preview-369 218 8/27/2025
2025.0.6-preview-368 215 8/27/2025
2025.0.6-preview-334 183 8/18/2025
2025.0.6-preview-333 132 7/27/2025
2025.0.6-preview-332 505 7/24/2025
2025.0.6-preview-331 512 7/24/2025
2025.0.6-preview-328 507 7/24/2025
2025.0.6-preview-327 374 7/21/2025
2025.0.6-preview-326 364 7/21/2025
2025.0.6-preview-325 290 7/20/2025
2025.0.6-preview-324 266 7/20/2025
2025.0.6-preview-322 271 7/20/2025
2025.0.6-preview-321 271 7/19/2025
2025.0.6-preview-320 271 7/19/2025
2025.0.6-preview-319 183 7/17/2025
2025.0.6-preview-317 181 7/17/2025
2025.0.6-preview-316 179 7/17/2025
2025.0.6-preview-315 179 7/17/2025
2025.0.6-preview-314 179 7/17/2025
2025.0.6-preview-313 177 7/17/2025
2025.0.6-preview-312 182 7/16/2025
2025.0.5 206 7/10/2025
2025.0.5-preview-307 119 7/5/2025
2025.0.4 121 7/5/2025
2025.0.4-preview-305 135 7/4/2025
2025.0.4-preview-304 182 7/1/2025
2025.0.4-preview-299 168 5/31/2025
2025.0.4-preview-298 130 5/30/2025
2025.0.4-preview-296 182 5/30/2025
2025.0.4-preview-295 196 5/29/2025
2025.0.4-preview-293 180 5/26/2025
2025.0.4-preview-292 189 5/26/2025
2025.0.3 216 2/10/2025
2025.0.3-preview-288 155 2/10/2025
2025.0.2 185 1/21/2025
2025.0.2-preview-278 131 1/21/2025
2025.0.2-preview-277 151 12/16/2024
2025.0.1-rc-243301701 439 11/25/2024
2024.0.14.6 206 11/25/2024
2024.0.14.6-rc-243031001 227 10/29/2024
2024.0.14.6-rc-243030701 178 10/29/2024
2024.0.14.6-rc-242840501 156 10/10/2024
2024.0.14.6-rc-242820305 151 10/8/2024
2024.0.14.6-rc-242771401 285 10/3/2024
2024.0.14.6-rc-242770501 148 10/3/2024
2024.0.14.6-rc-242770201 165 10/3/2024
2024.0.14.6-rc-242761801 154 10/2/2024
2024.0.14.6-rc-242761601 170 10/2/2024
2024.0.14.6-rc-242761501 142 10/2/2024
2024.0.14.6-rc-242761401 162 10/2/2024
2024.0.14.6-rc-242760701 177 10/2/2024
2024.0.14.6-rc-242751002 167 10/1/2024
2024.0.14.6-rc-242750901 169 10/1/2024
2024.0.14.6-rc-242750502 154 10/1/2024
2024.0.14.6-rc-242750201 167 10/1/2024
2024.0.14.6-rc-242741501 134 9/30/2024
2024.0.14.6-rc-242730701 168 9/29/2024
2024.0.14.6-preview-2730501 152 9/29/2024
2024.0.14.6-preview-2701501 188 9/26/2024
2024.0.14.6-preview-2620901 195 9/18/2024
2024.0.14.6-preview-2570701 182 9/13/2024
2024.0.14.6-preview-2510703 242 9/7/2024
2024.0.14.6-preview-2480501 186 9/4/2024
2024.0.14.6-preview-2430401 206 8/30/2024
2024.0.14.6-preview-242730701 161 9/29/2024
2024.0.14.6-preview-2421703 186 8/29/2024
2024.0.14.6-preview-2421701 164 8/29/2024
2024.0.14.6-preview-2420901 170 8/29/2024
2024.0.14.6-preview-2390101 182 8/26/2024
2024.0.14.6-preview-2381603 187 8/25/2024
2024.0.14.6-preview-2341601 204 8/21/2024
2024.0.14.6-preview-2321602 212 8/20/2024
2024.0.14.6-preview-2190801 202 8/6/2024
2024.0.14.6-preview-2041501 167 7/22/2024
2024.0.14.6-preview-1920603 233 7/10/2024
2024.0.14.6-preview-1920301 178 7/10/2024
2024.0.14.6-preview-1911302 190 7/9/2024
2024.0.14.6-preview-1901001 180 7/8/2024
2024.0.14.6-preview-1900901 178 7/8/2024
2024.0.14.6-preview-1900801 169 7/8/2024
2024.0.14.6-preview-1860304 177 7/4/2024
2024.0.14.5 257 7/1/2024
2024.0.14.5-preview-1811601 175 6/29/2024
2024.0.14.5-preview-1810501 201 6/29/2024
2024.0.14.5-preview-180132 198 6/28/2024
2024.0.14.5-preview-180131 173 6/28/2024
2024.0.14.5-preview-180121 163 6/28/2024
2024.0.14.4 232 6/27/2024
2024.0.14.4-preview-7 168 6/27/2024
2024.0.14.3 228 6/21/2024
2024.0.14.1 209 6/6/2024
2024.0.14.1-preview 183 6/6/2024
2024.0.14-preview-1 153 6/6/2024
2024.0.13.8-preview 173 6/6/2024
2024.0.13.1-preview-0146 178 6/6/2024
2024.0.12.15803-preview-03 174 6/6/2024
2024.0.12.15608 212 6/4/2024
2024.0.12.15515 292 6/3/2024
2024.0.12.15220 197 5/31/2024
2024.0.12.15220-alpha31-240... 175 5/31/2024
2024.0.12.14911 261 5/28/2024
2024.0.12.14910-alpha28-240... 177 5/28/2024
2024.0.12.14823 230 5/27/2024
2024.0.12.14522-alpha7-2405... 173 5/24/2024
2024.0.12.14514-alpha6-2405... 178 5/24/2024
2024.0.12.14511 226 5/24/2024
2024.0.12.14314 257 5/22/2024
2024.0.12.14114 238 5/20/2024
2024.0.12.12815 268 5/7/2024
2024.0.12.12814 226 5/7/2024
2024.0.12.12721 232 5/6/2024
2024.0.12.12702 218 5/5/2024
2024.0.12.12622 211 5/5/2024
2024.0.12.12514 201 5/4/2024
2024.0.12.12512 223 5/4/2024
2024.0.12.12510 209 5/4/2024
2024.0.12.12420 188 5/3/2024
2024.0.12.12319 177 5/2/2024
2024.0.12.12319-rc-2405021801 118 5/2/2024
2024.0.12.12318 151 5/2/2024
2024.0.12.12215 184 5/1/2024
2024.0.12.12011 217 4/29/2024
2024.0.12.11720 196 4/26/2024
2024.0.12.11719 210 4/26/2024
2024.0.12.11621 211 4/25/2024
2024.0.12.11523 194 4/24/2024
2024.0.12.11522 198 4/24/2024
2024.0.12.11417 218 4/23/2024
2024.0.12.11400 224 4/22/2024
2024.0.12.11316 219 4/22/2024
2024.0.11.10220 189 4/11/2024
2024.0.11.10120 199 4/10/2024
2024.0.11.10119 170 4/10/2024
2024.0.11.10115 186 4/10/2024
2024.0.11.9914 215 4/8/2024
2024.0.11.9901 192 4/7/2024
2024.0.11.9823 196 4/7/2024
2024.0.11.9401 192 4/2/2024
2024.0.11.9301 199 4/1/2024
2024.0.11.9206 192 3/31/2024
2024.0.11.9205 183 3/31/2024
2024.0.11.8200 209 3/21/2024
2024.0.11.8122 183 3/21/2024
2024.0.11.8120 184 3/21/2024
2024.0.11.7320 243 3/13/2024
2024.0.11.7316 223 3/13/2024
2024.0.11.7310 211 3/13/2024
2024.0.11 196 3/13/2024
2024.0.10 227 3/3/2024
2024.0.9 214 2/27/2024
2024.0.8 259 2/1/2024
2024.0.7 214 1/26/2024
2024.0.6 197 1/25/2024
2024.0.5 181 1/24/2024
2024.0.4 186 1/24/2024
2024.0.3 205 1/22/2024
2024.0.2 250 1/10/2024
2024.0.1 203 1/9/2024
2024.0.1-alpha-3 179 1/9/2024
2024.0.1-alpha-2 148 1/9/2024
2024.0.1-alpha-1 194 1/3/2024
2024.0.0 252 12/26/2023
2023.0.27 237 12/21/2023
2023.0.26 197 12/21/2023
2023.0.25 236 12/11/2023
2023.0.24 208 12/8/2023
2023.0.23 196 12/6/2023
2023.0.21 230 12/4/2023
2023.0.20 231 11/27/2023
2023.0.19 192 11/20/2023
2023.0.18 213 10/25/2023
2023.0.17 266 10/22/2023
2023.0.16 288 10/16/2023
2023.0.16-alpha-1 170 10/16/2023
2023.0.15 225 10/14/2023
2023.0.14 197 10/14/2023
2023.0.13 185 10/14/2023
2023.0.12 190 10/14/2023
2023.0.11 183 10/10/2023
2023.0.10 196 10/9/2023
2023.0.9 298 8/16/2023
2023.0.8 234 8/15/2023
2023.0.8-alpha-2 324 5/31/2023
2023.0.7 262 5/12/2023
2023.0.6 440 5/10/2023
2023.0.5 244 5/7/2023
2023.0.4 278 4/22/2023
2023.0.3 314 4/19/2023
2023.0.2 320 4/6/2023
2023.0.1 327 3/13/2023
2022.11.0 423 11/21/2022
2022.10.0 492 10/15/2022
2022.9.0 476 9/5/2022