DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2023.0.16-alpha-1

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 2023.0.16-alpha-1
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2023.0.16-alpha-1
                    
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="2023.0.16-alpha-1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2023.0.16-alpha-1" />
                    
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 2023.0.16-alpha-1
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2023.0.16-alpha-1"
                    
#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@2023.0.16-alpha-1
                    
#: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=2023.0.16-alpha-1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2023.0.16-alpha-1&prerelease
                    
Install as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  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-535 8 10/8/2025
2025.0.9-preview-509 163 10/2/2025
2025.0.9-preview-508 149 10/2/2025
2025.0.9-preview-487 208 9/29/2025
2025.0.9-preview-481 192 9/29/2025
2025.0.9-preview-473 168 9/28/2025
2025.0.8 213 9/23/2025
2025.0.6 206 9/22/2025
2025.0.6-preview-455 204 9/22/2025
2025.0.6-preview-454 304 9/17/2025
2025.0.6-preview-441 145 9/14/2025
2025.0.6-preview-440 159 9/14/2025
2025.0.6-preview-406 199 9/2/2025
2025.0.6-preview-401 166 9/2/2025
2025.0.6-preview-400 173 9/2/2025
2025.0.6-preview-369 212 8/27/2025
2025.0.6-preview-368 209 8/27/2025
2025.0.6-preview-334 178 8/18/2025
2025.0.6-preview-333 127 7/27/2025
2025.0.6-preview-332 501 7/24/2025
2025.0.6-preview-331 505 7/24/2025
2025.0.6-preview-328 501 7/24/2025
2025.0.6-preview-327 368 7/21/2025
2025.0.6-preview-326 360 7/21/2025
2025.0.6-preview-325 284 7/20/2025
2025.0.6-preview-324 261 7/20/2025
2025.0.6-preview-322 266 7/20/2025
2025.0.6-preview-321 266 7/19/2025
2025.0.6-preview-320 267 7/19/2025
2025.0.6-preview-319 177 7/17/2025
2025.0.6-preview-317 175 7/17/2025
2025.0.6-preview-316 171 7/17/2025
2025.0.6-preview-315 175 7/17/2025
2025.0.6-preview-314 173 7/17/2025
2025.0.6-preview-313 173 7/17/2025
2025.0.6-preview-312 176 7/16/2025
2025.0.5 199 7/10/2025
2025.0.5-preview-307 113 7/5/2025
2025.0.4 115 7/5/2025
2025.0.4-preview-305 130 7/4/2025
2025.0.4-preview-304 178 7/1/2025
2025.0.4-preview-299 162 5/31/2025
2025.0.4-preview-298 123 5/30/2025
2025.0.4-preview-296 175 5/30/2025
2025.0.4-preview-295 190 5/29/2025
2025.0.4-preview-293 177 5/26/2025
2025.0.4-preview-292 183 5/26/2025
2025.0.3 209 2/10/2025
2025.0.3-preview-288 150 2/10/2025
2025.0.2 179 1/21/2025
2025.0.2-preview-278 125 1/21/2025
2025.0.2-preview-277 148 12/16/2024
2025.0.1-rc-243301701 436 11/25/2024
2024.0.14.6 199 11/25/2024
2024.0.14.6-rc-243031001 220 10/29/2024
2024.0.14.6-rc-243030701 170 10/29/2024
2024.0.14.6-rc-242840501 151 10/10/2024
2024.0.14.6-rc-242820305 147 10/8/2024
2024.0.14.6-rc-242771401 282 10/3/2024
2024.0.14.6-rc-242770501 144 10/3/2024
2024.0.14.6-rc-242770201 159 10/3/2024
2024.0.14.6-rc-242761801 149 10/2/2024
2024.0.14.6-rc-242761601 163 10/2/2024
2024.0.14.6-rc-242761501 138 10/2/2024
2024.0.14.6-rc-242761401 155 10/2/2024
2024.0.14.6-rc-242760701 173 10/2/2024
2024.0.14.6-rc-242751002 163 10/1/2024
2024.0.14.6-rc-242750901 164 10/1/2024
2024.0.14.6-rc-242750502 150 10/1/2024
2024.0.14.6-rc-242750201 162 10/1/2024
2024.0.14.6-rc-242741501 130 9/30/2024
2024.0.14.6-rc-242730701 163 9/29/2024
2024.0.14.6-preview-2730501 144 9/29/2024
2024.0.14.6-preview-2701501 182 9/26/2024
2024.0.14.6-preview-2620901 190 9/18/2024
2024.0.14.6-preview-2570701 177 9/13/2024
2024.0.14.6-preview-2510703 238 9/7/2024
2024.0.14.6-preview-2480501 183 9/4/2024
2024.0.14.6-preview-2430401 203 8/30/2024
2024.0.14.6-preview-242730701 156 9/29/2024
2024.0.14.6-preview-2421703 183 8/29/2024
2024.0.14.6-preview-2421701 159 8/29/2024
2024.0.14.6-preview-2420901 161 8/29/2024
2024.0.14.6-preview-2390101 178 8/26/2024
2024.0.14.6-preview-2381603 181 8/25/2024
2024.0.14.6-preview-2341601 201 8/21/2024
2024.0.14.6-preview-2321602 207 8/20/2024
2024.0.14.6-preview-2190801 197 8/6/2024
2024.0.14.6-preview-2041501 161 7/22/2024
2024.0.14.6-preview-1920603 227 7/10/2024
2024.0.14.6-preview-1920301 173 7/10/2024
2024.0.14.6-preview-1911302 185 7/9/2024
2024.0.14.6-preview-1901001 175 7/8/2024
2024.0.14.6-preview-1900901 174 7/8/2024
2024.0.14.6-preview-1900801 164 7/8/2024
2024.0.14.6-preview-1860304 174 7/4/2024
2024.0.14.5 252 7/1/2024
2024.0.14.5-preview-1811601 170 6/29/2024
2024.0.14.5-preview-1810501 196 6/29/2024
2024.0.14.5-preview-180132 191 6/28/2024
2024.0.14.5-preview-180131 167 6/28/2024
2024.0.14.5-preview-180121 160 6/28/2024
2024.0.14.4 227 6/27/2024
2024.0.14.4-preview-7 161 6/27/2024
2024.0.14.3 218 6/21/2024
2024.0.14.1 201 6/6/2024
2024.0.14.1-preview 179 6/6/2024
2024.0.14-preview-1 149 6/6/2024
2024.0.13.8-preview 170 6/6/2024
2024.0.13.1-preview-0146 174 6/6/2024
2024.0.12.15803-preview-03 169 6/6/2024
2024.0.12.15608 205 6/4/2024
2024.0.12.15515 285 6/3/2024
2024.0.12.15220 190 5/31/2024
2024.0.12.15220-alpha31-240... 166 5/31/2024
2024.0.12.14911 254 5/28/2024
2024.0.12.14910-alpha28-240... 171 5/28/2024
2024.0.12.14823 222 5/27/2024
2024.0.12.14522-alpha7-2405... 170 5/24/2024
2024.0.12.14514-alpha6-2405... 174 5/24/2024
2024.0.12.14511 221 5/24/2024
2024.0.12.14314 248 5/22/2024
2024.0.12.14114 233 5/20/2024
2024.0.12.12815 259 5/7/2024
2024.0.12.12814 220 5/7/2024
2024.0.12.12721 225 5/6/2024
2024.0.12.12702 212 5/5/2024
2024.0.12.12622 205 5/5/2024
2024.0.12.12514 194 5/4/2024
2024.0.12.12512 215 5/4/2024
2024.0.12.12510 203 5/4/2024
2024.0.12.12420 182 5/3/2024
2024.0.12.12319 169 5/2/2024
2024.0.12.12319-rc-2405021801 113 5/2/2024
2024.0.12.12318 144 5/2/2024
2024.0.12.12215 177 5/1/2024
2024.0.12.12011 210 4/29/2024
2024.0.12.11720 187 4/26/2024
2024.0.12.11719 200 4/26/2024
2024.0.12.11621 205 4/25/2024
2024.0.12.11523 188 4/24/2024
2024.0.12.11522 192 4/24/2024
2024.0.12.11417 212 4/23/2024
2024.0.12.11400 218 4/22/2024
2024.0.12.11316 212 4/22/2024
2024.0.11.10220 184 4/11/2024
2024.0.11.10120 190 4/10/2024
2024.0.11.10119 165 4/10/2024
2024.0.11.10115 178 4/10/2024
2024.0.11.9914 207 4/8/2024
2024.0.11.9901 187 4/7/2024
2024.0.11.9823 191 4/7/2024
2024.0.11.9401 184 4/2/2024
2024.0.11.9301 194 4/1/2024
2024.0.11.9206 183 3/31/2024
2024.0.11.9205 178 3/31/2024
2024.0.11.8200 202 3/21/2024
2024.0.11.8122 178 3/21/2024
2024.0.11.8120 178 3/21/2024
2024.0.11.7320 235 3/13/2024
2024.0.11.7316 216 3/13/2024
2024.0.11.7310 202 3/13/2024
2024.0.11 191 3/13/2024
2024.0.10 221 3/3/2024
2024.0.9 209 2/27/2024
2024.0.8 254 2/1/2024
2024.0.7 208 1/26/2024
2024.0.6 190 1/25/2024
2024.0.5 175 1/24/2024
2024.0.4 179 1/24/2024
2024.0.3 197 1/22/2024
2024.0.2 245 1/10/2024
2024.0.1 197 1/9/2024
2024.0.1-alpha-3 176 1/9/2024
2024.0.1-alpha-2 144 1/9/2024
2024.0.1-alpha-1 189 1/3/2024
2024.0.0 245 12/26/2023
2023.0.27 231 12/21/2023
2023.0.26 191 12/21/2023
2023.0.25 225 12/11/2023
2023.0.24 200 12/8/2023
2023.0.23 191 12/6/2023
2023.0.21 218 12/4/2023
2023.0.20 227 11/27/2023
2023.0.19 189 11/20/2023
2023.0.18 208 10/25/2023
2023.0.17 260 10/22/2023
2023.0.16 280 10/16/2023
2023.0.16-alpha-1 164 10/16/2023
2023.0.15 222 10/14/2023
2023.0.14 192 10/14/2023
2023.0.13 179 10/14/2023
2023.0.12 183 10/14/2023
2023.0.11 178 10/10/2023
2023.0.10 192 10/9/2023
2023.0.9 293 8/16/2023
2023.0.8 230 8/15/2023
2023.0.8-alpha-2 315 5/31/2023
2023.0.7 251 5/12/2023
2023.0.6 413 5/10/2023
2023.0.5 233 5/7/2023
2023.0.4 266 4/22/2023
2023.0.3 303 4/19/2023
2023.0.2 307 4/6/2023
2023.0.1 314 3/13/2023
2022.11.0 413 11/21/2022
2022.10.0 477 10/15/2022
2022.9.0 463 9/5/2022