DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2025.0.4-preview-293

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.4-preview-293
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2025.0.4-preview-293
                    
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.4-preview-293" />
                    
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.4-preview-293" />
                    
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.4-preview-293
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2025.0.4-preview-293"
                    
#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.4-preview-293
                    
#: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.4-preview-293&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2025.0.4-preview-293&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-334 85 8/18/2025
2025.0.6-preview-333 64 7/27/2025
2025.0.6-preview-332 438 7/24/2025
2025.0.6-preview-331 444 7/24/2025
2025.0.6-preview-328 436 7/24/2025
2025.0.6-preview-327 278 7/21/2025
2025.0.6-preview-326 277 7/21/2025
2025.0.6-preview-325 188 7/20/2025
2025.0.6-preview-324 186 7/20/2025
2025.0.6-preview-322 184 7/20/2025
2025.0.6-preview-321 185 7/19/2025
2025.0.6-preview-320 185 7/19/2025
2025.0.6-preview-319 116 7/17/2025
2025.0.6-preview-317 115 7/17/2025
2025.0.6-preview-316 116 7/17/2025
2025.0.6-preview-315 116 7/17/2025
2025.0.6-preview-314 122 7/17/2025
2025.0.6-preview-313 137 7/17/2025
2025.0.6-preview-312 140 7/16/2025
2025.0.5 152 7/10/2025
2025.0.5-preview-307 78 7/5/2025
2025.0.4 77 7/5/2025
2025.0.4-preview-305 84 7/4/2025
2025.0.4-preview-304 144 7/1/2025
2025.0.4-preview-299 126 5/31/2025
2025.0.4-preview-298 109 5/30/2025
2025.0.4-preview-296 141 5/30/2025
2025.0.4-preview-295 158 5/29/2025
2025.0.4-preview-293 154 5/26/2025
2025.0.4-preview-292 153 5/26/2025
2025.0.3 160 2/10/2025
2025.0.3-preview-288 122 2/10/2025
2025.0.2 142 1/21/2025
2025.0.2-preview-278 101 1/21/2025
2025.0.2-preview-277 119 12/16/2024
2025.0.1-rc-243301701 403 11/25/2024
2024.0.14.6 156 11/25/2024
2024.0.14.6-rc-243031001 190 10/29/2024
2024.0.14.6-rc-243030701 123 10/29/2024
2024.0.14.6-rc-242840501 117 10/10/2024
2024.0.14.6-rc-242820305 114 10/8/2024
2024.0.14.6-rc-242771401 248 10/3/2024
2024.0.14.6-rc-242770501 115 10/3/2024
2024.0.14.6-rc-242770201 131 10/3/2024
2024.0.14.6-rc-242761801 121 10/2/2024
2024.0.14.6-rc-242761601 133 10/2/2024
2024.0.14.6-rc-242761501 117 10/2/2024
2024.0.14.6-rc-242761401 122 10/2/2024
2024.0.14.6-rc-242760701 141 10/2/2024
2024.0.14.6-rc-242751002 125 10/1/2024
2024.0.14.6-rc-242750901 130 10/1/2024
2024.0.14.6-rc-242750502 125 10/1/2024
2024.0.14.6-rc-242750201 125 10/1/2024
2024.0.14.6-rc-242741501 111 9/30/2024
2024.0.14.6-rc-242730701 135 9/29/2024
2024.0.14.6-preview-2730501 119 9/29/2024
2024.0.14.6-preview-2701501 145 9/26/2024
2024.0.14.6-preview-2620901 158 9/18/2024
2024.0.14.6-preview-2570701 138 9/13/2024
2024.0.14.6-preview-2510703 202 9/7/2024
2024.0.14.6-preview-2480501 154 9/4/2024
2024.0.14.6-preview-2430401 169 8/30/2024
2024.0.14.6-preview-242730701 119 9/29/2024
2024.0.14.6-preview-2421703 135 8/29/2024
2024.0.14.6-preview-2421701 122 8/29/2024
2024.0.14.6-preview-2420901 127 8/29/2024
2024.0.14.6-preview-2390101 141 8/26/2024
2024.0.14.6-preview-2381603 144 8/25/2024
2024.0.14.6-preview-2341601 164 8/21/2024
2024.0.14.6-preview-2321602 164 8/20/2024
2024.0.14.6-preview-2190801 166 8/6/2024
2024.0.14.6-preview-2041501 127 7/22/2024
2024.0.14.6-preview-1920603 188 7/10/2024
2024.0.14.6-preview-1920301 141 7/10/2024
2024.0.14.6-preview-1911302 147 7/9/2024
2024.0.14.6-preview-1901001 143 7/8/2024
2024.0.14.6-preview-1900901 141 7/8/2024
2024.0.14.6-preview-1900801 128 7/8/2024
2024.0.14.6-preview-1860304 142 7/4/2024
2024.0.14.5 211 7/1/2024
2024.0.14.5-preview-1811601 132 6/29/2024
2024.0.14.5-preview-1810501 157 6/29/2024
2024.0.14.5-preview-180132 153 6/28/2024
2024.0.14.5-preview-180131 139 6/28/2024
2024.0.14.5-preview-180121 129 6/28/2024
2024.0.14.4 170 6/27/2024
2024.0.14.4-preview-7 131 6/27/2024
2024.0.14.3 162 6/21/2024
2024.0.14.1 158 6/6/2024
2024.0.14.1-preview 136 6/6/2024
2024.0.14-preview-1 128 6/6/2024
2024.0.13.8-preview 135 6/6/2024
2024.0.13.1-preview-0146 137 6/6/2024
2024.0.12.15803-preview-03 131 6/6/2024
2024.0.12.15608 160 6/4/2024
2024.0.12.15515 244 6/3/2024
2024.0.12.15220 160 5/31/2024
2024.0.12.15220-alpha31-240... 133 5/31/2024
2024.0.12.14911 200 5/28/2024
2024.0.12.14910-alpha28-240... 145 5/28/2024
2024.0.12.14823 173 5/27/2024
2024.0.12.14522-alpha7-2405... 136 5/24/2024
2024.0.12.14514-alpha6-2405... 142 5/24/2024
2024.0.12.14511 177 5/24/2024
2024.0.12.14314 202 5/22/2024
2024.0.12.14114 193 5/20/2024
2024.0.12.12815 212 5/7/2024
2024.0.12.12814 178 5/7/2024
2024.0.12.12721 178 5/6/2024
2024.0.12.12702 174 5/5/2024
2024.0.12.12622 174 5/5/2024
2024.0.12.12514 155 5/4/2024
2024.0.12.12512 173 5/4/2024
2024.0.12.12510 164 5/4/2024
2024.0.12.12420 148 5/3/2024
2024.0.12.12319 121 5/2/2024
2024.0.12.12319-rc-2405021801 87 5/2/2024
2024.0.12.12318 113 5/2/2024
2024.0.12.12215 157 5/1/2024
2024.0.12.12011 176 4/29/2024
2024.0.12.11720 158 4/26/2024
2024.0.12.11719 163 4/26/2024
2024.0.12.11621 168 4/25/2024
2024.0.12.11523 151 4/24/2024
2024.0.12.11522 153 4/24/2024
2024.0.12.11417 187 4/23/2024
2024.0.12.11400 185 4/22/2024
2024.0.12.11316 169 4/22/2024
2024.0.11.10220 154 4/11/2024
2024.0.11.10120 151 4/10/2024
2024.0.11.10119 139 4/10/2024
2024.0.11.10115 152 4/10/2024
2024.0.11.9914 177 4/8/2024
2024.0.11.9901 156 4/7/2024
2024.0.11.9823 162 4/7/2024
2024.0.11.9401 157 4/2/2024
2024.0.11.9301 164 4/1/2024
2024.0.11.9206 153 3/31/2024
2024.0.11.9205 152 3/31/2024
2024.0.11.8200 174 3/21/2024
2024.0.11.8122 147 3/21/2024
2024.0.11.8120 150 3/21/2024
2024.0.11.7320 210 3/13/2024
2024.0.11.7316 179 3/13/2024
2024.0.11.7310 159 3/13/2024
2024.0.11 158 3/13/2024
2024.0.10 190 3/3/2024
2024.0.9 179 2/27/2024
2024.0.8 211 2/1/2024
2024.0.7 166 1/26/2024
2024.0.6 160 1/25/2024
2024.0.5 149 1/24/2024
2024.0.4 148 1/24/2024
2024.0.3 170 1/22/2024
2024.0.2 217 1/10/2024
2024.0.1 165 1/9/2024
2024.0.1-alpha-3 145 1/9/2024
2024.0.1-alpha-2 122 1/9/2024
2024.0.1-alpha-1 155 1/3/2024
2024.0.0 213 12/26/2023
2023.0.27 209 12/21/2023
2023.0.26 159 12/21/2023
2023.0.25 192 12/11/2023
2023.0.24 168 12/8/2023
2023.0.23 167 12/6/2023
2023.0.21 193 12/4/2023
2023.0.20 203 11/27/2023
2023.0.19 163 11/20/2023
2023.0.18 189 10/25/2023
2023.0.17 235 10/22/2023
2023.0.16 246 10/16/2023
2023.0.16-alpha-1 130 10/16/2023
2023.0.15 198 10/14/2023
2023.0.14 165 10/14/2023
2023.0.13 160 10/14/2023
2023.0.12 159 10/14/2023
2023.0.11 158 10/10/2023
2023.0.10 169 10/9/2023
2023.0.9 261 8/16/2023
2023.0.8 196 8/15/2023
2023.0.8-alpha-2 280 5/31/2023
2023.0.7 216 5/12/2023
2023.0.6 369 5/10/2023
2023.0.5 198 5/7/2023
2023.0.4 231 4/22/2023
2023.0.3 266 4/19/2023
2023.0.2 261 4/6/2023
2023.0.1 287 3/13/2023
2022.11.0 386 11/21/2022
2022.10.0 449 10/15/2022
2022.9.0 433 9/5/2022