DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2024.0.14.6-rc-242761501

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-rc-242761501
                    
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2024.0.14.6-rc-242761501
                    
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-rc-242761501" />
                    
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-rc-242761501" />
                    
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-rc-242761501
                    
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2024.0.14.6-rc-242761501"
                    
#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-rc-242761501&prerelease
                    
Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Addin
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2024.0.14.6-rc-242761501&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 119 2/10/2025
2025.0.3-preview-288 102 2/10/2025
2025.0.2 114 1/21/2025
2025.0.2-preview-278 82 1/21/2025
2025.0.2-preview-277 97 12/16/2024
2025.0.1-rc-243301701 351 11/25/2024
2024.0.14.6 130 11/25/2024
2024.0.14.6-rc-243031001 172 10/29/2024
2024.0.14.6-rc-243030701 106 10/29/2024
2024.0.14.6-rc-242840501 103 10/10/2024
2024.0.14.6-rc-242820305 95 10/8/2024
2024.0.14.6-rc-242771401 231 10/3/2024
2024.0.14.6-rc-242770501 98 10/3/2024
2024.0.14.6-rc-242770201 116 10/3/2024
2024.0.14.6-rc-242761801 102 10/2/2024
2024.0.14.6-rc-242761601 112 10/2/2024
2024.0.14.6-rc-242761501 100 10/2/2024
2024.0.14.6-rc-242761401 109 10/2/2024
2024.0.14.6-rc-242760701 124 10/2/2024
2024.0.14.6-rc-242751002 110 10/1/2024
2024.0.14.6-rc-242750901 108 10/1/2024
2024.0.14.6-rc-242750502 109 10/1/2024
2024.0.14.6-rc-242750201 110 10/1/2024
2024.0.14.6-rc-242741501 94 9/30/2024
2024.0.14.6-rc-242730701 120 9/29/2024
2024.0.14.6-preview-2730501 98 9/29/2024
2024.0.14.6-preview-2701501 130 9/26/2024
2024.0.14.6-preview-2620901 142 9/18/2024
2024.0.14.6-preview-2570701 125 9/13/2024
2024.0.14.6-preview-2510703 188 9/7/2024
2024.0.14.6-preview-2480501 140 9/4/2024
2024.0.14.6-preview-2430401 156 8/30/2024
2024.0.14.6-preview-242730701 104 9/29/2024
2024.0.14.6-preview-2421703 122 8/29/2024
2024.0.14.6-preview-2421701 106 8/29/2024
2024.0.14.6-preview-2420901 113 8/29/2024
2024.0.14.6-preview-2390101 127 8/26/2024
2024.0.14.6-preview-2381603 128 8/25/2024
2024.0.14.6-preview-2341601 152 8/21/2024
2024.0.14.6-preview-2321602 146 8/20/2024
2024.0.14.6-preview-2190801 149 8/6/2024
2024.0.14.6-preview-2041501 111 7/22/2024
2024.0.14.6-preview-1920603 175 7/10/2024
2024.0.14.6-preview-1920301 126 7/10/2024
2024.0.14.6-preview-1911302 136 7/9/2024
2024.0.14.6-preview-1901001 132 7/8/2024
2024.0.14.6-preview-1900901 128 7/8/2024
2024.0.14.6-preview-1900801 114 7/8/2024
2024.0.14.6-preview-1860304 124 7/4/2024
2024.0.14.5 188 7/1/2024
2024.0.14.5-preview-1811601 119 6/29/2024
2024.0.14.5-preview-1810501 141 6/29/2024
2024.0.14.5-preview-180132 136 6/28/2024
2024.0.14.5-preview-180131 127 6/28/2024
2024.0.14.5-preview-180121 116 6/28/2024
2024.0.14.4 148 6/27/2024
2024.0.14.4-preview-7 120 6/27/2024
2024.0.14.3 136 6/21/2024
2024.0.14.1 134 6/6/2024
2024.0.14.1-preview 124 6/6/2024
2024.0.14-preview-1 114 6/6/2024
2024.0.13.8-preview 124 6/6/2024
2024.0.13.1-preview-0146 124 6/6/2024
2024.0.12.15803-preview-03 119 6/6/2024
2024.0.12.15608 139 6/4/2024
2024.0.12.15515 222 6/3/2024
2024.0.12.15220 139 5/31/2024
2024.0.12.15220-alpha31-240... 115 5/31/2024
2024.0.12.14911 169 5/28/2024
2024.0.12.14910-alpha28-240... 125 5/28/2024
2024.0.12.14823 148 5/27/2024
2024.0.12.14522-alpha7-2405... 119 5/24/2024
2024.0.12.14514-alpha6-2405... 126 5/24/2024
2024.0.12.14511 155 5/24/2024
2024.0.12.14314 181 5/22/2024
2024.0.12.14114 169 5/20/2024
2024.0.12.12815 187 5/7/2024
2024.0.12.12814 158 5/7/2024
2024.0.12.12721 155 5/6/2024
2024.0.12.12702 147 5/5/2024
2024.0.12.12622 152 5/5/2024
2024.0.12.12514 134 5/4/2024
2024.0.12.12512 151 5/4/2024
2024.0.12.12510 141 5/4/2024
2024.0.12.12420 126 5/3/2024
2024.0.12.12319 98 5/2/2024
2024.0.12.12319-rc-2405021801 73 5/2/2024
2024.0.12.12318 91 5/2/2024
2024.0.12.12215 133 5/1/2024
2024.0.12.12011 149 4/29/2024
2024.0.12.11720 136 4/26/2024
2024.0.12.11719 142 4/26/2024
2024.0.12.11621 145 4/25/2024
2024.0.12.11523 126 4/24/2024
2024.0.12.11522 129 4/24/2024
2024.0.12.11417 163 4/23/2024
2024.0.12.11400 151 4/22/2024
2024.0.12.11316 146 4/22/2024
2024.0.11.10220 128 4/11/2024
2024.0.11.10120 127 4/10/2024
2024.0.11.10119 118 4/10/2024
2024.0.11.10115 119 4/10/2024
2024.0.11.9914 153 4/8/2024
2024.0.11.9901 131 4/7/2024
2024.0.11.9823 137 4/7/2024
2024.0.11.9401 132 4/2/2024
2024.0.11.9301 141 4/1/2024
2024.0.11.9206 131 3/31/2024
2024.0.11.9205 129 3/31/2024
2024.0.11.8200 151 3/21/2024
2024.0.11.8122 122 3/21/2024
2024.0.11.8120 128 3/21/2024
2024.0.11.7320 187 3/13/2024
2024.0.11.7316 157 3/13/2024
2024.0.11.7310 136 3/13/2024
2024.0.11 134 3/13/2024
2024.0.10 167 3/3/2024
2024.0.9 153 2/27/2024
2024.0.8 190 2/1/2024
2024.0.7 145 1/26/2024
2024.0.6 138 1/25/2024
2024.0.5 126 1/24/2024
2024.0.4 123 1/24/2024
2024.0.3 147 1/22/2024
2024.0.2 195 1/10/2024
2024.0.1 142 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 190 12/26/2023
2023.0.27 189 12/21/2023
2023.0.26 137 12/21/2023
2023.0.25 168 12/11/2023
2023.0.24 149 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 272 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