DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.9-preview-481

This is a prerelease version of DotNetBrightener.Plugins.EventPubSub.DependencyInjection.
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.9-preview-481
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.9-preview-481
                    
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.9-preview-481" />
                    
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.9-preview-481" />
                    
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.9-preview-481
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.9-preview-481"
                    
#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.9-preview-481
                    
#: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.9-preview-481&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.9-preview-481&prerelease
                    
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
2025.0.9-preview-509 142 10/2/2025
2025.0.9-preview-508 135 10/2/2025
2025.0.9-preview-487 186 9/29/2025
2025.0.9-preview-481 175 9/29/2025
2025.0.9-preview-473 158 9/28/2025
2025.0.8 196 9/23/2025
2025.0.6 189 9/22/2025
2025.0.6-preview-455 187 9/22/2025
2025.0.6-preview-454 289 9/17/2025
2025.0.6-preview-441 132 9/14/2025
2025.0.6-preview-440 143 9/14/2025
2025.0.6-preview-406 182 9/2/2025
2025.0.6-preview-401 148 9/2/2025
2025.0.6-preview-400 157 9/2/2025
2025.0.6-preview-369 199 8/27/2025
2025.0.6-preview-368 193 8/27/2025
2025.0.6-preview-334 172 8/18/2025
2025.0.6-preview-333 111 7/27/2025
2025.0.6-preview-332 485 7/24/2025
2025.0.6-preview-331 489 7/24/2025
2025.0.6-preview-328 485 7/24/2025
2025.0.6-preview-327 352 7/21/2025
2025.0.6-preview-326 344 7/21/2025
2025.0.6-preview-325 257 7/20/2025
2025.0.6-preview-324 245 7/20/2025
2025.0.6-preview-322 250 7/20/2025
2025.0.6-preview-321 250 7/19/2025
2025.0.6-preview-320 251 7/19/2025
2025.0.6-preview-319 161 7/17/2025
2025.0.6-preview-317 159 7/17/2025
2025.0.6-preview-316 155 7/17/2025
2025.0.6-preview-315 159 7/17/2025
2025.0.6-preview-314 157 7/17/2025
2025.0.6-preview-313 157 7/17/2025
2025.0.6-preview-312 163 7/16/2025
2025.0.5 183 7/10/2025
2025.0.5-preview-307 97 7/5/2025
2025.0.4 109 7/5/2025
2025.0.4-preview-305 114 7/4/2025
2025.0.4-preview-304 161 7/1/2025
2025.0.4-preview-299 146 5/31/2025
2025.0.4-preview-298 120 5/30/2025
2025.0.4-preview-296 159 5/30/2025
2025.0.4-preview-295 174 5/29/2025
2025.0.4-preview-293 172 5/26/2025
2025.0.4-preview-292 167 5/26/2025
2025.0.3 193 2/10/2025
2025.0.3-preview-288 134 2/10/2025
2025.0.2 166 1/21/2025
2025.0.2-preview-278 109 1/21/2025
2025.0.2-preview-277 132 12/16/2024
2025.0.1-rc-243301701 420 11/25/2024
2024.0.14.6 181 11/25/2024
2024.0.14.6-rc-243031001 202 10/29/2024
2024.0.14.6-rc-243030701 148 10/29/2024
2024.0.14.6-rc-242840501 133 10/10/2024
2024.0.14.6-rc-242820305 129 10/8/2024
2024.0.14.6-rc-242771401 263 10/3/2024
2024.0.14.6-rc-242770501 140 10/3/2024
2024.0.14.6-rc-242770201 145 10/3/2024
2024.0.14.6-rc-242761801 139 10/2/2024
2024.0.14.6-rc-242761601 144 10/2/2024
2024.0.14.6-rc-242761501 124 10/2/2024
2024.0.14.6-rc-242761401 137 10/2/2024
2024.0.14.6-rc-242760701 159 10/2/2024
2024.0.14.6-rc-242751002 145 10/1/2024
2024.0.14.6-rc-242750901 146 10/1/2024
2024.0.14.6-rc-242750502 136 10/1/2024
2024.0.14.6-rc-242750201 144 10/1/2024
2024.0.14.6-rc-242741501 122 9/30/2024
2024.0.14.6-rc-242730701 145 9/29/2024
2024.0.14.6-preview-2730501 130 9/29/2024
2024.0.14.6-preview-2701501 164 9/26/2024
2024.0.14.6-preview-2620901 172 9/18/2024
2024.0.14.6-preview-2570701 159 9/13/2024
2024.0.14.6-preview-2510703 220 9/7/2024
2024.0.14.6-preview-2480501 174 9/4/2024
2024.0.14.6-preview-2430401 184 8/30/2024
2024.0.14.6-preview-242730701 138 9/29/2024
2024.0.14.6-preview-2421703 165 8/29/2024
2024.0.14.6-preview-2421701 141 8/29/2024
2024.0.14.6-preview-2420901 143 8/29/2024
2024.0.14.6-preview-2390101 160 8/26/2024
2024.0.14.6-preview-2381603 163 8/25/2024
2024.0.14.6-preview-2341601 183 8/21/2024
2024.0.14.6-preview-2321602 189 8/20/2024
2024.0.14.6-preview-2190801 177 8/6/2024
2024.0.14.6-preview-2041501 142 7/22/2024
2024.0.14.6-preview-1920603 209 7/10/2024
2024.0.14.6-preview-1920301 155 7/10/2024
2024.0.14.6-preview-1911302 167 7/9/2024
2024.0.14.6-preview-1901001 157 7/8/2024
2024.0.14.6-preview-1900901 156 7/8/2024
2024.0.14.6-preview-1900801 142 7/8/2024
2024.0.14.6-preview-1860304 155 7/4/2024
2024.0.14.5 238 7/1/2024
2024.0.14.5-preview-1811601 152 6/29/2024
2024.0.14.5-preview-1810501 178 6/29/2024
2024.0.14.5-preview-180132 173 6/28/2024
2024.0.14.5-preview-180131 158 6/28/2024
2024.0.14.5-preview-180121 142 6/28/2024
2024.0.14.4 202 6/27/2024
2024.0.14.4-preview-7 143 6/27/2024
2024.0.14.3 200 6/21/2024
2024.0.14.1 183 6/6/2024
2024.0.14.1-preview 151 6/6/2024
2024.0.14-preview-1 135 6/6/2024
2024.0.13.8-preview 152 6/6/2024
2024.0.13.1-preview-0146 160 6/6/2024
2024.0.12.15803-preview-03 151 6/6/2024
2024.0.12.15608 183 6/4/2024
2024.0.12.15515 267 6/3/2024
2024.0.12.15220 186 5/31/2024
2024.0.12.15220-alpha31-240... 148 5/31/2024
2024.0.12.14911 236 5/28/2024
2024.0.12.14910-alpha28-240... 153 5/28/2024
2024.0.12.14823 208 5/27/2024
2024.0.12.14522-alpha7-2405... 152 5/24/2024
2024.0.12.14514-alpha6-2405... 156 5/24/2024
2024.0.12.14511 207 5/24/2024
2024.0.12.14314 230 5/22/2024
2024.0.12.14114 215 5/20/2024
2024.0.12.12815 241 5/7/2024
2024.0.12.12814 202 5/7/2024
2024.0.12.12721 207 5/6/2024
2024.0.12.12702 194 5/5/2024
2024.0.12.12622 191 5/5/2024
2024.0.12.12514 176 5/4/2024
2024.0.12.12512 193 5/4/2024
2024.0.12.12510 185 5/4/2024
2024.0.12.12420 164 5/3/2024
2024.0.12.12319 151 5/2/2024
2024.0.12.12319-rc-2405021801 95 5/2/2024
2024.0.12.12318 130 5/2/2024
2024.0.12.12215 173 5/1/2024
2024.0.12.12011 192 4/29/2024
2024.0.12.11720 169 4/26/2024
2024.0.12.11719 192 4/26/2024
2024.0.12.11621 187 4/25/2024
2024.0.12.11523 170 4/24/2024
2024.0.12.11522 174 4/24/2024
2024.0.12.11417 198 4/23/2024
2024.0.12.11400 200 4/22/2024
2024.0.12.11316 194 4/22/2024
2024.0.11.10220 170 4/11/2024
2024.0.11.10120 178 4/10/2024
2024.0.11.10119 151 4/10/2024
2024.0.11.10115 164 4/10/2024
2024.0.11.9914 193 4/8/2024
2024.0.11.9901 173 4/7/2024
2024.0.11.9823 177 4/7/2024
2024.0.11.9401 174 4/2/2024
2024.0.11.9301 180 4/1/2024
2024.0.11.9206 169 3/31/2024
2024.0.11.9205 164 3/31/2024
2024.0.11.8200 188 3/21/2024
2024.0.11.8122 163 3/21/2024
2024.0.11.8120 165 3/21/2024
2024.0.11.7320 221 3/13/2024
2024.0.11.7316 202 3/13/2024
2024.0.11.7310 188 3/13/2024
2024.0.11 177 3/13/2024
2024.0.10 207 3/3/2024
2024.0.9 194 2/27/2024
2024.0.8 240 2/1/2024
2024.0.7 193 1/26/2024
2024.0.6 176 1/25/2024
2024.0.5 161 1/24/2024
2024.0.4 165 1/24/2024
2024.0.3 183 1/22/2024
2024.0.2 231 1/10/2024
2024.0.1 181 1/9/2024
2024.0.1-alpha-3 163 1/9/2024
2024.0.1-alpha-2 130 1/9/2024
2024.0.1-alpha-1 173 1/3/2024
2024.0.0 230 12/26/2023
2023.0.27 226 12/21/2023
2023.0.26 176 12/21/2023
2023.0.25 210 12/11/2023
2023.0.24 185 12/8/2023
2023.0.23 176 12/6/2023
2023.0.21 203 12/4/2023
2023.0.20 211 11/27/2023
2023.0.19 179 11/20/2023
2023.0.18 193 10/25/2023
2023.0.17 245 10/22/2023
2023.0.16 265 10/16/2023
2023.0.16-alpha-1 149 10/16/2023
2023.0.15 207 10/14/2023
2023.0.14 177 10/14/2023
2023.0.13 164 10/14/2023
2023.0.12 169 10/14/2023
2023.0.11 163 10/10/2023
2023.0.10 177 10/9/2023
2023.0.9 277 8/16/2023
2023.0.8 215 8/15/2023
2023.0.8-alpha-2 298 5/31/2023
2023.0.7 236 5/12/2023
2023.0.6 395 5/10/2023
2023.0.5 217 5/7/2023
2023.0.4 251 4/22/2023
2023.0.3 287 4/19/2023
2023.0.2 292 4/6/2023
2023.0.1 309 3/13/2023
2022.11.0 403 11/21/2022
2022.10.0 467 10/15/2022
2022.9.0 452 9/5/2022