DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.2-preview-277

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.2-preview-277
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.2-preview-277
                    
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.2-preview-277" />
                    
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.2-preview-277" />
                    
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.2-preview-277
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.2-preview-277"
                    
#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.2-preview-277
                    
#: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.2-preview-277&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.2-preview-277&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.6-preview-369 0 8/27/2025
2025.0.6-preview-368 8 8/27/2025
2025.0.6-preview-334 113 8/18/2025
2025.0.6-preview-333 70 7/27/2025
2025.0.6-preview-332 439 7/24/2025
2025.0.6-preview-331 445 7/24/2025
2025.0.6-preview-328 437 7/24/2025
2025.0.6-preview-327 279 7/21/2025
2025.0.6-preview-326 278 7/21/2025
2025.0.6-preview-325 189 7/20/2025
2025.0.6-preview-324 187 7/20/2025
2025.0.6-preview-322 185 7/20/2025
2025.0.6-preview-321 186 7/19/2025
2025.0.6-preview-320 186 7/19/2025
2025.0.6-preview-319 117 7/17/2025
2025.0.6-preview-317 116 7/17/2025
2025.0.6-preview-316 117 7/17/2025
2025.0.6-preview-315 117 7/17/2025
2025.0.6-preview-314 123 7/17/2025
2025.0.6-preview-313 138 7/17/2025
2025.0.6-preview-312 141 7/16/2025
2025.0.5 155 7/10/2025
2025.0.5-preview-307 79 7/5/2025
2025.0.4 80 7/5/2025
2025.0.4-preview-305 85 7/4/2025
2025.0.4-preview-304 145 7/1/2025
2025.0.4-preview-299 127 5/31/2025
2025.0.4-preview-298 110 5/30/2025
2025.0.4-preview-296 142 5/30/2025
2025.0.4-preview-295 159 5/29/2025
2025.0.4-preview-293 155 5/26/2025
2025.0.4-preview-292 154 5/26/2025
2025.0.3 163 2/10/2025
2025.0.3-preview-288 123 2/10/2025
2025.0.2 145 1/21/2025
2025.0.2-preview-278 102 1/21/2025
2025.0.2-preview-277 120 12/16/2024
2025.0.1-rc-243301701 404 11/25/2024
2024.0.14.6 159 11/25/2024
2024.0.14.6-rc-243031001 191 10/29/2024
2024.0.14.6-rc-243030701 124 10/29/2024
2024.0.14.6-rc-242840501 118 10/10/2024
2024.0.14.6-rc-242820305 115 10/8/2024
2024.0.14.6-rc-242771401 249 10/3/2024
2024.0.14.6-rc-242770501 116 10/3/2024
2024.0.14.6-rc-242770201 132 10/3/2024
2024.0.14.6-rc-242761801 122 10/2/2024
2024.0.14.6-rc-242761601 134 10/2/2024
2024.0.14.6-rc-242761501 118 10/2/2024
2024.0.14.6-rc-242761401 123 10/2/2024
2024.0.14.6-rc-242760701 142 10/2/2024
2024.0.14.6-rc-242751002 126 10/1/2024
2024.0.14.6-rc-242750901 131 10/1/2024
2024.0.14.6-rc-242750502 126 10/1/2024
2024.0.14.6-rc-242750201 126 10/1/2024
2024.0.14.6-rc-242741501 112 9/30/2024
2024.0.14.6-rc-242730701 136 9/29/2024
2024.0.14.6-preview-2730501 120 9/29/2024
2024.0.14.6-preview-2701501 146 9/26/2024
2024.0.14.6-preview-2620901 159 9/18/2024
2024.0.14.6-preview-2570701 139 9/13/2024
2024.0.14.6-preview-2510703 203 9/7/2024
2024.0.14.6-preview-2480501 155 9/4/2024
2024.0.14.6-preview-2430401 170 8/30/2024
2024.0.14.6-preview-242730701 120 9/29/2024
2024.0.14.6-preview-2421703 136 8/29/2024
2024.0.14.6-preview-2421701 123 8/29/2024
2024.0.14.6-preview-2420901 128 8/29/2024
2024.0.14.6-preview-2390101 142 8/26/2024
2024.0.14.6-preview-2381603 145 8/25/2024
2024.0.14.6-preview-2341601 165 8/21/2024
2024.0.14.6-preview-2321602 165 8/20/2024
2024.0.14.6-preview-2190801 167 8/6/2024
2024.0.14.6-preview-2041501 128 7/22/2024
2024.0.14.6-preview-1920603 189 7/10/2024
2024.0.14.6-preview-1920301 142 7/10/2024
2024.0.14.6-preview-1911302 148 7/9/2024
2024.0.14.6-preview-1901001 144 7/8/2024
2024.0.14.6-preview-1900901 142 7/8/2024
2024.0.14.6-preview-1900801 129 7/8/2024
2024.0.14.6-preview-1860304 143 7/4/2024
2024.0.14.5 214 7/1/2024
2024.0.14.5-preview-1811601 133 6/29/2024
2024.0.14.5-preview-1810501 158 6/29/2024
2024.0.14.5-preview-180132 154 6/28/2024
2024.0.14.5-preview-180131 140 6/28/2024
2024.0.14.5-preview-180121 130 6/28/2024
2024.0.14.4 173 6/27/2024
2024.0.14.4-preview-7 133 6/27/2024
2024.0.14.3 165 6/21/2024
2024.0.14.1 161 6/6/2024
2024.0.14.1-preview 137 6/6/2024
2024.0.14-preview-1 129 6/6/2024
2024.0.13.8-preview 136 6/6/2024
2024.0.13.1-preview-0146 138 6/6/2024
2024.0.12.15803-preview-03 132 6/6/2024
2024.0.12.15608 163 6/4/2024
2024.0.12.15515 247 6/3/2024
2024.0.12.15220 163 5/31/2024
2024.0.12.15220-alpha31-240... 134 5/31/2024
2024.0.12.14911 203 5/28/2024
2024.0.12.14910-alpha28-240... 146 5/28/2024
2024.0.12.14823 176 5/27/2024
2024.0.12.14522-alpha7-2405... 137 5/24/2024
2024.0.12.14514-alpha6-2405... 143 5/24/2024
2024.0.12.14511 180 5/24/2024
2024.0.12.14314 205 5/22/2024
2024.0.12.14114 196 5/20/2024
2024.0.12.12815 215 5/7/2024
2024.0.12.12814 181 5/7/2024
2024.0.12.12721 181 5/6/2024
2024.0.12.12702 177 5/5/2024
2024.0.12.12622 177 5/5/2024
2024.0.12.12514 158 5/4/2024
2024.0.12.12512 176 5/4/2024
2024.0.12.12510 167 5/4/2024
2024.0.12.12420 151 5/3/2024
2024.0.12.12319 124 5/2/2024
2024.0.12.12319-rc-2405021801 88 5/2/2024
2024.0.12.12318 116 5/2/2024
2024.0.12.12215 160 5/1/2024
2024.0.12.12011 179 4/29/2024
2024.0.12.11720 161 4/26/2024
2024.0.12.11719 166 4/26/2024
2024.0.12.11621 171 4/25/2024
2024.0.12.11523 154 4/24/2024
2024.0.12.11522 156 4/24/2024
2024.0.12.11417 190 4/23/2024
2024.0.12.11400 188 4/22/2024
2024.0.12.11316 172 4/22/2024
2024.0.11.10220 157 4/11/2024
2024.0.11.10120 154 4/10/2024
2024.0.11.10119 142 4/10/2024
2024.0.11.10115 155 4/10/2024
2024.0.11.9914 180 4/8/2024
2024.0.11.9901 159 4/7/2024
2024.0.11.9823 165 4/7/2024
2024.0.11.9401 160 4/2/2024
2024.0.11.9301 167 4/1/2024
2024.0.11.9206 156 3/31/2024
2024.0.11.9205 155 3/31/2024
2024.0.11.8200 177 3/21/2024
2024.0.11.8122 150 3/21/2024
2024.0.11.8120 153 3/21/2024
2024.0.11.7320 213 3/13/2024
2024.0.11.7316 182 3/13/2024
2024.0.11.7310 162 3/13/2024
2024.0.11 161 3/13/2024
2024.0.10 193 3/3/2024
2024.0.9 182 2/27/2024
2024.0.8 214 2/1/2024
2024.0.7 169 1/26/2024
2024.0.6 163 1/25/2024
2024.0.5 152 1/24/2024
2024.0.4 151 1/24/2024
2024.0.3 173 1/22/2024
2024.0.2 220 1/10/2024
2024.0.1 168 1/9/2024
2024.0.1-alpha-3 146 1/9/2024
2024.0.1-alpha-2 123 1/9/2024
2024.0.1-alpha-1 156 1/3/2024
2024.0.0 216 12/26/2023
2023.0.27 212 12/21/2023
2023.0.26 162 12/21/2023
2023.0.25 195 12/11/2023
2023.0.24 171 12/8/2023
2023.0.23 168 12/6/2023
2023.0.21 194 12/4/2023
2023.0.20 204 11/27/2023
2023.0.19 164 11/20/2023
2023.0.18 190 10/25/2023
2023.0.17 236 10/22/2023
2023.0.16 247 10/16/2023
2023.0.16-alpha-1 131 10/16/2023
2023.0.15 199 10/14/2023
2023.0.14 166 10/14/2023
2023.0.13 161 10/14/2023
2023.0.12 160 10/14/2023
2023.0.11 159 10/10/2023
2023.0.10 170 10/9/2023
2023.0.9 264 8/16/2023
2023.0.8 199 8/15/2023
2023.0.8-alpha-2 283 5/31/2023
2023.0.7 219 5/12/2023
2023.0.6 370 5/10/2023
2023.0.5 201 5/7/2023
2023.0.4 234 4/22/2023
2023.0.3 269 4/19/2023
2023.0.2 264 4/6/2023
2023.0.1 290 3/13/2023
2022.11.0 389 11/21/2022
2022.10.0 452 10/15/2022
2022.9.0 436 9/5/2022