DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.3

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.3
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.3
                    
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.3" />
                    
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.3" />
                    
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.3
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.3"
                    
#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.
#addin nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.3
                    
Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.3
                    
Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection 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.4-preview-299 106 5/31/2025
2025.0.4-preview-298 97 5/30/2025
2025.0.4-preview-296 129 5/30/2025
2025.0.4-preview-295 145 5/29/2025
2025.0.4-preview-293 143 5/26/2025
2025.0.4-preview-292 142 5/26/2025
2025.0.3 143 2/10/2025
2025.0.3-preview-288 107 2/10/2025
2025.0.2 125 1/21/2025
2025.0.2-preview-278 86 1/21/2025
2025.0.2-preview-277 105 12/16/2024
2025.0.1-rc-243301701 393 11/25/2024
2024.0.14.6 141 11/25/2024
2024.0.14.6-rc-243031001 176 10/29/2024
2024.0.14.6-rc-243030701 111 10/29/2024
2024.0.14.6-rc-242840501 106 10/10/2024
2024.0.14.6-rc-242820305 99 10/8/2024
2024.0.14.6-rc-242771401 234 10/3/2024
2024.0.14.6-rc-242770501 102 10/3/2024
2024.0.14.6-rc-242770201 120 10/3/2024
2024.0.14.6-rc-242761801 109 10/2/2024
2024.0.14.6-rc-242761601 117 10/2/2024
2024.0.14.6-rc-242761501 104 10/2/2024
2024.0.14.6-rc-242761401 112 10/2/2024
2024.0.14.6-rc-242760701 127 10/2/2024
2024.0.14.6-rc-242751002 114 10/1/2024
2024.0.14.6-rc-242750901 113 10/1/2024
2024.0.14.6-rc-242750502 113 10/1/2024
2024.0.14.6-rc-242750201 115 10/1/2024
2024.0.14.6-rc-242741501 97 9/30/2024
2024.0.14.6-rc-242730701 125 9/29/2024
2024.0.14.6-preview-2730501 102 9/29/2024
2024.0.14.6-preview-2701501 133 9/26/2024
2024.0.14.6-preview-2620901 146 9/18/2024
2024.0.14.6-preview-2570701 128 9/13/2024
2024.0.14.6-preview-2510703 191 9/7/2024
2024.0.14.6-preview-2480501 143 9/4/2024
2024.0.14.6-preview-2430401 160 8/30/2024
2024.0.14.6-preview-242730701 108 9/29/2024
2024.0.14.6-preview-2421703 126 8/29/2024
2024.0.14.6-preview-2421701 109 8/29/2024
2024.0.14.6-preview-2420901 117 8/29/2024
2024.0.14.6-preview-2390101 130 8/26/2024
2024.0.14.6-preview-2381603 132 8/25/2024
2024.0.14.6-preview-2341601 155 8/21/2024
2024.0.14.6-preview-2321602 151 8/20/2024
2024.0.14.6-preview-2190801 153 8/6/2024
2024.0.14.6-preview-2041501 115 7/22/2024
2024.0.14.6-preview-1920603 177 7/10/2024
2024.0.14.6-preview-1920301 128 7/10/2024
2024.0.14.6-preview-1911302 138 7/9/2024
2024.0.14.6-preview-1901001 134 7/8/2024
2024.0.14.6-preview-1900901 130 7/8/2024
2024.0.14.6-preview-1900801 116 7/8/2024
2024.0.14.6-preview-1860304 127 7/4/2024
2024.0.14.5 199 7/1/2024
2024.0.14.5-preview-1811601 122 6/29/2024
2024.0.14.5-preview-1810501 144 6/29/2024
2024.0.14.5-preview-180132 140 6/28/2024
2024.0.14.5-preview-180131 129 6/28/2024
2024.0.14.5-preview-180121 118 6/28/2024
2024.0.14.4 159 6/27/2024
2024.0.14.4-preview-7 123 6/27/2024
2024.0.14.3 145 6/21/2024
2024.0.14.1 143 6/6/2024
2024.0.14.1-preview 126 6/6/2024
2024.0.14-preview-1 117 6/6/2024
2024.0.13.8-preview 126 6/6/2024
2024.0.13.1-preview-0146 127 6/6/2024
2024.0.12.15803-preview-03 122 6/6/2024
2024.0.12.15608 148 6/4/2024
2024.0.12.15515 232 6/3/2024
2024.0.12.15220 148 5/31/2024
2024.0.12.15220-alpha31-240... 117 5/31/2024
2024.0.12.14911 178 5/28/2024
2024.0.12.14910-alpha28-240... 133 5/28/2024
2024.0.12.14823 157 5/27/2024
2024.0.12.14522-alpha7-2405... 121 5/24/2024
2024.0.12.14514-alpha6-2405... 130 5/24/2024
2024.0.12.14511 165 5/24/2024
2024.0.12.14314 191 5/22/2024
2024.0.12.14114 179 5/20/2024
2024.0.12.12815 197 5/7/2024
2024.0.12.12814 167 5/7/2024
2024.0.12.12721 165 5/6/2024
2024.0.12.12702 156 5/5/2024
2024.0.12.12622 162 5/5/2024
2024.0.12.12514 143 5/4/2024
2024.0.12.12512 161 5/4/2024
2024.0.12.12510 150 5/4/2024
2024.0.12.12420 135 5/3/2024
2024.0.12.12319 107 5/2/2024
2024.0.12.12319-rc-2405021801 76 5/2/2024
2024.0.12.12318 100 5/2/2024
2024.0.12.12215 142 5/1/2024
2024.0.12.12011 161 4/29/2024
2024.0.12.11720 146 4/26/2024
2024.0.12.11719 152 4/26/2024
2024.0.12.11621 154 4/25/2024
2024.0.12.11523 136 4/24/2024
2024.0.12.11522 139 4/24/2024
2024.0.12.11417 175 4/23/2024
2024.0.12.11400 174 4/22/2024
2024.0.12.11316 157 4/22/2024
2024.0.11.10220 139 4/11/2024
2024.0.11.10120 140 4/10/2024
2024.0.11.10119 128 4/10/2024
2024.0.11.10115 136 4/10/2024
2024.0.11.9914 165 4/8/2024
2024.0.11.9901 145 4/7/2024
2024.0.11.9823 147 4/7/2024
2024.0.11.9401 142 4/2/2024
2024.0.11.9301 151 4/1/2024
2024.0.11.9206 142 3/31/2024
2024.0.11.9205 140 3/31/2024
2024.0.11.8200 161 3/21/2024
2024.0.11.8122 133 3/21/2024
2024.0.11.8120 138 3/21/2024
2024.0.11.7320 198 3/13/2024
2024.0.11.7316 167 3/13/2024
2024.0.11.7310 147 3/13/2024
2024.0.11 147 3/13/2024
2024.0.10 178 3/3/2024
2024.0.9 164 2/27/2024
2024.0.8 199 2/1/2024
2024.0.7 155 1/26/2024
2024.0.6 149 1/25/2024
2024.0.5 136 1/24/2024
2024.0.4 133 1/24/2024
2024.0.3 158 1/22/2024
2024.0.2 206 1/10/2024
2024.0.1 152 1/9/2024
2024.0.1-alpha-3 136 1/9/2024
2024.0.1-alpha-2 112 1/9/2024
2024.0.1-alpha-1 145 1/3/2024
2024.0.0 200 12/26/2023
2023.0.27 199 12/21/2023
2023.0.26 146 12/21/2023
2023.0.25 177 12/11/2023
2023.0.24 158 12/8/2023
2023.0.23 152 12/6/2023
2023.0.21 181 12/4/2023
2023.0.20 192 11/27/2023
2023.0.19 154 11/20/2023
2023.0.18 176 10/25/2023
2023.0.17 220 10/22/2023
2023.0.16 226 10/16/2023
2023.0.16-alpha-1 114 10/16/2023
2023.0.15 181 10/14/2023
2023.0.14 149 10/14/2023
2023.0.13 145 10/14/2023
2023.0.12 144 10/14/2023
2023.0.11 139 10/10/2023
2023.0.10 154 10/9/2023
2023.0.9 240 8/16/2023
2023.0.8 174 8/15/2023
2023.0.8-alpha-2 255 5/31/2023
2023.0.7 191 5/12/2023
2023.0.6 315 5/10/2023
2023.0.5 169 5/7/2023
2023.0.4 202 4/22/2023
2023.0.3 235 4/19/2023
2023.0.2 234 4/6/2023
2023.0.1 262 3/13/2023
2022.11.0 361 11/21/2022
2022.10.0 419 10/15/2022
2022.9.0 404 9/5/2022