DotNetBrightener.Plugins.EventPubSub.DependencyInjection 2023.0.8-alpha-2

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 2023.0.8-alpha-2                
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2023.0.8-alpha-2                
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="2023.0.8-alpha-2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2023.0.8-alpha-2                
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2023.0.8-alpha-2"                
#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.
// Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Addin
#addin nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2023.0.8-alpha-2&prerelease

// Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Tool
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2023.0.8-alpha-2&prerelease                

Extensions for ASP.NET Core of Event Publish/Subscribe Library

© DotNet Brightener

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 minimal API.


// 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 net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
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.1-rc-243301701 76 11/25/2024
2024.0.14.6 98 11/25/2024
2024.0.14.6-rc-243031001 139 10/29/2024
2024.0.14.6-rc-243030701 89 10/29/2024
2024.0.14.6-rc-242840501 92 10/10/2024
2024.0.14.6-rc-242820305 84 10/8/2024
2024.0.14.6-rc-242771401 218 10/3/2024
2024.0.14.6-rc-242770501 88 10/3/2024
2024.0.14.6-rc-242770201 97 10/3/2024
2024.0.14.6-rc-242761801 90 10/2/2024
2024.0.14.6-rc-242761601 101 10/2/2024
2024.0.14.6-rc-242761501 85 10/2/2024
2024.0.14.6-rc-242761401 97 10/2/2024
2024.0.14.6-rc-242760701 111 10/2/2024
2024.0.14.6-rc-242751002 101 10/1/2024
2024.0.14.6-rc-242750901 99 10/1/2024
2024.0.14.6-rc-242750502 100 10/1/2024
2024.0.14.6-rc-242750201 100 10/1/2024
2024.0.14.6-rc-242741501 83 9/30/2024
2024.0.14.6-rc-242730701 108 9/29/2024
2024.0.14.6-preview-2730501 89 9/29/2024
2024.0.14.6-preview-2701501 121 9/26/2024
2024.0.14.6-preview-2620901 133 9/18/2024
2024.0.14.6-preview-2570701 109 9/13/2024
2024.0.14.6-preview-2510703 177 9/7/2024
2024.0.14.6-preview-2480501 130 9/4/2024
2024.0.14.6-preview-2430401 149 8/30/2024
2024.0.14.6-preview-242730701 92 9/29/2024
2024.0.14.6-preview-2421703 113 8/29/2024
2024.0.14.6-preview-2421701 99 8/29/2024
2024.0.14.6-preview-2420901 106 8/29/2024
2024.0.14.6-preview-2390101 120 8/26/2024
2024.0.14.6-preview-2381603 120 8/25/2024
2024.0.14.6-preview-2341601 144 8/21/2024
2024.0.14.6-preview-2321602 128 8/20/2024
2024.0.14.6-preview-2190801 140 8/6/2024
2024.0.14.6-preview-2041501 101 7/22/2024
2024.0.14.6-preview-1920603 163 7/10/2024
2024.0.14.6-preview-1920301 111 7/10/2024
2024.0.14.6-preview-1911302 125 7/9/2024
2024.0.14.6-preview-1901001 124 7/8/2024
2024.0.14.6-preview-1900901 119 7/8/2024
2024.0.14.6-preview-1900801 104 7/8/2024
2024.0.14.6-preview-1860304 114 7/4/2024
2024.0.14.5 173 7/1/2024
2024.0.14.5-preview-1811601 111 6/29/2024
2024.0.14.5-preview-1810501 132 6/29/2024
2024.0.14.5-preview-180132 124 6/28/2024
2024.0.14.5-preview-180131 117 6/28/2024
2024.0.14.5-preview-180121 107 6/28/2024
2024.0.14.4 132 6/27/2024
2024.0.14.4-preview-7 110 6/27/2024
2024.0.14.3 120 6/21/2024
2024.0.14.1 123 6/6/2024
2024.0.14.1-preview 118 6/6/2024
2024.0.14-preview-1 107 6/6/2024
2024.0.13.8-preview 115 6/6/2024
2024.0.13.1-preview-0146 117 6/6/2024
2024.0.12.15803-preview-03 113 6/6/2024
2024.0.12.15608 124 6/4/2024
2024.0.12.15515 207 6/3/2024
2024.0.12.15220 123 5/31/2024
2024.0.12.15220-alpha31-240... 106 5/31/2024
2024.0.12.14911 155 5/28/2024
2024.0.12.14910-alpha28-240... 115 5/28/2024
2024.0.12.14823 134 5/27/2024
2024.0.12.14522-alpha7-2405... 108 5/24/2024
2024.0.12.14514-alpha6-2405... 118 5/24/2024
2024.0.12.14511 140 5/24/2024
2024.0.12.14314 162 5/22/2024
2024.0.12.14114 151 5/20/2024
2024.0.12.12815 171 5/7/2024
2024.0.12.12814 139 5/7/2024
2024.0.12.12721 143 5/6/2024
2024.0.12.12702 132 5/5/2024
2024.0.12.12622 136 5/5/2024
2024.0.12.12514 111 5/4/2024
2024.0.12.12512 129 5/4/2024
2024.0.12.12510 120 5/4/2024
2024.0.12.12420 107 5/3/2024
2024.0.12.12319 77 5/2/2024
2024.0.12.12319-rc-2405021801 60 5/2/2024
2024.0.12.12318 73 5/2/2024
2024.0.12.12215 118 5/1/2024
2024.0.12.12011 129 4/29/2024
2024.0.12.11720 124 4/26/2024
2024.0.12.11719 129 4/26/2024
2024.0.12.11621 130 4/25/2024
2024.0.12.11523 114 4/24/2024
2024.0.12.11522 113 4/24/2024
2024.0.12.11417 150 4/23/2024
2024.0.12.11400 131 4/22/2024
2024.0.12.11316 134 4/22/2024
2024.0.11.10220 113 4/11/2024
2024.0.11.10120 113 4/10/2024
2024.0.11.10119 106 4/10/2024
2024.0.11.10115 105 4/10/2024
2024.0.11.9914 141 4/8/2024
2024.0.11.9901 119 4/7/2024
2024.0.11.9823 124 4/7/2024
2024.0.11.9401 122 4/2/2024
2024.0.11.9301 130 4/1/2024
2024.0.11.9206 122 3/31/2024
2024.0.11.9205 116 3/31/2024
2024.0.11.8200 140 3/21/2024
2024.0.11.8122 111 3/21/2024
2024.0.11.8120 117 3/21/2024
2024.0.11.7320 178 3/13/2024
2024.0.11.7316 147 3/13/2024
2024.0.11.7310 126 3/13/2024
2024.0.11 124 3/13/2024
2024.0.10 157 3/3/2024
2024.0.9 142 2/27/2024
2024.0.8 180 2/1/2024
2024.0.7 135 1/26/2024
2024.0.6 128 1/25/2024
2024.0.5 116 1/24/2024
2024.0.4 113 1/24/2024
2024.0.3 137 1/22/2024
2024.0.2 185 1/10/2024
2024.0.1 130 1/9/2024
2024.0.1-alpha-3 127 1/9/2024
2024.0.1-alpha-2 103 1/9/2024
2024.0.1-alpha-1 133 1/3/2024
2024.0.0 179 12/26/2023
2023.0.27 179 12/21/2023
2023.0.26 127 12/21/2023
2023.0.25 157 12/11/2023
2023.0.24 139 12/8/2023
2023.0.23 135 12/6/2023
2023.0.21 169 12/4/2023
2023.0.20 180 11/27/2023
2023.0.19 144 11/20/2023
2023.0.18 166 10/25/2023
2023.0.17 208 10/22/2023
2023.0.16 213 10/16/2023
2023.0.16-alpha-1 105 10/16/2023
2023.0.15 171 10/14/2023
2023.0.14 137 10/14/2023
2023.0.13 133 10/14/2023
2023.0.12 133 10/14/2023
2023.0.11 127 10/10/2023
2023.0.10 143 10/9/2023
2023.0.9 223 8/16/2023
2023.0.8 159 8/15/2023
2023.0.8-alpha-2 234 5/31/2023
2023.0.7 163 5/12/2023
2023.0.6 196 5/10/2023
2023.0.5 146 5/7/2023
2023.0.4 179 4/22/2023
2023.0.3 212 4/19/2023
2023.0.2 211 4/6/2023
2023.0.1 231 3/13/2023
2022.11.0 334 11/21/2022
2022.10.0 392 10/15/2022
2022.9.0 364 9/5/2022