DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2024.0.14.6-preview-2190801

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 2024.0.14.6-preview-2190801
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2024.0.14.6-preview-2190801
                    
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="2024.0.14.6-preview-2190801" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetBrightener.Plugins.EventPubSub.DependencyInjection" Version="2024.0.14.6-preview-2190801" />
                    
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 2024.0.14.6-preview-2190801
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2024.0.14.6-preview-2190801"
                    
#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=2024.0.14.6-preview-2190801&prerelease
                    
Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2024.0.14.6-preview-2190801&prerelease
                    
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 net8.0 is compatible.  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. 
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.3 110 2 months ago
2025.0.3-preview-288 100 2 months ago
2025.0.2 108 3 months ago
2025.0.2-preview-278 80 3 months ago
2025.0.2-preview-277 97 4 months ago
2025.0.1-rc-243301701 349 4 months ago
2024.0.14.6 126 4 months ago
2024.0.14.6-rc-243031001 172 5 months ago
2024.0.14.6-rc-243030701 106 5 months ago
2024.0.14.6-rc-242840501 103 6 months ago
2024.0.14.6-rc-242820305 95 6 months ago
2024.0.14.6-rc-242771401 231 6 months ago
2024.0.14.6-rc-242770501 98 6 months ago
2024.0.14.6-rc-242770201 116 6 months ago
2024.0.14.6-rc-242761801 102 6 months ago
2024.0.14.6-rc-242761601 110 6 months ago
2024.0.14.6-rc-242761501 100 6 months ago
2024.0.14.6-rc-242761401 106 6 months ago
2024.0.14.6-rc-242760701 124 6 months ago
2024.0.14.6-rc-242751002 110 6 months ago
2024.0.14.6-rc-242750901 108 6 months ago
2024.0.14.6-rc-242750502 109 6 months ago
2024.0.14.6-rc-242750201 110 6 months ago
2024.0.14.6-rc-242741501 94 6 months ago
2024.0.14.6-rc-242730701 120 6 months ago
2024.0.14.6-preview-2730501 98 6 months ago
2024.0.14.6-preview-2701501 130 6 months ago
2024.0.14.6-preview-2620901 142 7 months ago
2024.0.14.6-preview-2570701 125 7 months ago
2024.0.14.6-preview-2510703 188 7 months ago
2024.0.14.6-preview-2480501 140 7 months ago
2024.0.14.6-preview-2430401 156 7 months ago
2024.0.14.6-preview-242730701 104 6 months ago
2024.0.14.6-preview-2421703 122 7 months ago
2024.0.14.6-preview-2421701 106 7 months ago
2024.0.14.6-preview-2420901 113 7 months ago
2024.0.14.6-preview-2390101 127 7 months ago
2024.0.14.6-preview-2381603 128 7 months ago
2024.0.14.6-preview-2341601 152 8 months ago
2024.0.14.6-preview-2321602 146 8 months ago
2024.0.14.6-preview-2190801 149 8 months ago
2024.0.14.6-preview-2041501 111 8 months ago
2024.0.14.6-preview-1920603 175 9 months ago
2024.0.14.6-preview-1920301 126 9 months ago
2024.0.14.6-preview-1911302 136 9 months ago
2024.0.14.6-preview-1901001 132 9 months ago
2024.0.14.6-preview-1900901 128 9 months ago
2024.0.14.6-preview-1900801 114 9 months ago
2024.0.14.6-preview-1860304 124 9 months ago
2024.0.14.5 184 9 months ago
2024.0.14.5-preview-1811601 119 9 months ago
2024.0.14.5-preview-1810501 141 9 months ago
2024.0.14.5-preview-180132 136 9 months ago
2024.0.14.5-preview-180131 127 9 months ago
2024.0.14.5-preview-180121 116 9 months ago
2024.0.14.4 144 9 months ago
2024.0.14.4-preview-7 120 9 months ago
2024.0.14.3 132 10 months ago
2024.0.14.1 130 10 months ago
2024.0.14.1-preview 124 10 months ago
2024.0.14-preview-1 114 10 months ago
2024.0.13.8-preview 124 10 months ago
2024.0.13.1-preview-0146 124 10 months ago
2024.0.12.15803-preview-03 119 10 months ago
2024.0.12.15608 135 6/4/2024
2024.0.12.15515 218 6/3/2024
2024.0.12.15220 135 5/31/2024
2024.0.12.15220-alpha31-240... 115 5/31/2024
2024.0.12.14911 165 5/28/2024
2024.0.12.14910-alpha28-240... 125 5/28/2024
2024.0.12.14823 144 5/27/2024
2024.0.12.14522-alpha7-2405... 117 5/24/2024
2024.0.12.14514-alpha6-2405... 126 5/24/2024
2024.0.12.14511 151 5/24/2024
2024.0.12.14314 177 5/22/2024
2024.0.12.14114 165 5/20/2024
2024.0.12.12815 183 5/7/2024
2024.0.12.12814 154 5/7/2024
2024.0.12.12721 151 5/6/2024
2024.0.12.12702 143 5/5/2024
2024.0.12.12622 148 5/5/2024
2024.0.12.12514 130 5/4/2024
2024.0.12.12512 147 5/4/2024
2024.0.12.12510 137 5/4/2024
2024.0.12.12420 122 5/3/2024
2024.0.12.12319 94 5/2/2024
2024.0.12.12319-rc-2405021801 73 5/2/2024
2024.0.12.12318 87 5/2/2024
2024.0.12.12215 129 5/1/2024
2024.0.12.12011 145 4/29/2024
2024.0.12.11720 132 4/26/2024
2024.0.12.11719 138 4/26/2024
2024.0.12.11621 141 4/25/2024
2024.0.12.11523 122 4/24/2024
2024.0.12.11522 125 4/24/2024
2024.0.12.11417 159 4/23/2024
2024.0.12.11400 147 4/22/2024
2024.0.12.11316 142 4/22/2024
2024.0.11.10220 124 4/11/2024
2024.0.11.10120 123 4/10/2024
2024.0.11.10119 114 4/10/2024
2024.0.11.10115 115 4/10/2024
2024.0.11.9914 149 4/8/2024
2024.0.11.9901 127 4/7/2024
2024.0.11.9823 133 4/7/2024
2024.0.11.9401 128 4/2/2024
2024.0.11.9301 137 4/1/2024
2024.0.11.9206 127 3/31/2024
2024.0.11.9205 125 3/31/2024
2024.0.11.8200 147 3/21/2024
2024.0.11.8122 118 3/21/2024
2024.0.11.8120 124 3/21/2024
2024.0.11.7320 183 3/13/2024
2024.0.11.7316 153 3/13/2024
2024.0.11.7310 132 3/13/2024
2024.0.11 130 3/13/2024
2024.0.10 163 3/3/2024
2024.0.9 149 2/27/2024
2024.0.8 186 2/1/2024
2024.0.7 141 1/26/2024
2024.0.6 134 1/25/2024
2024.0.5 122 1/24/2024
2024.0.4 119 1/24/2024
2024.0.3 143 1/22/2024
2024.0.2 191 1/10/2024
2024.0.1 138 1/9/2024
2024.0.1-alpha-3 133 1/9/2024
2024.0.1-alpha-2 109 1/9/2024
2024.0.1-alpha-1 143 1/3/2024
2024.0.0 186 12/26/2023
2023.0.27 185 12/21/2023
2023.0.26 133 12/21/2023
2023.0.25 164 12/11/2023
2023.0.24 145 12/8/2023
2023.0.23 142 12/6/2023
2023.0.21 176 12/4/2023
2023.0.20 188 11/27/2023
2023.0.19 150 11/20/2023
2023.0.18 172 10/25/2023
2023.0.17 215 10/22/2023
2023.0.16 222 10/16/2023
2023.0.16-alpha-1 111 10/16/2023
2023.0.15 177 10/14/2023
2023.0.14 143 10/14/2023
2023.0.13 141 10/14/2023
2023.0.12 140 10/14/2023
2023.0.11 133 10/10/2023
2023.0.10 150 10/9/2023
2023.0.9 232 8/16/2023
2023.0.8 166 8/15/2023
2023.0.8-alpha-2 244 5/31/2023
2023.0.7 178 5/12/2023
2023.0.6 265 5/10/2023
2023.0.5 157 5/7/2023
2023.0.4 191 4/22/2023
2023.0.3 224 4/19/2023
2023.0.2 223 4/6/2023
2023.0.1 249 3/13/2023
2022.11.0 351 11/21/2022
2022.10.0 409 10/15/2022
2022.9.0 387 9/5/2022