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

This is a prerelease version of DotNetBrightener.Plugins.EventPubSub.DependencyInjection.
There is a newer prerelease 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-2510703                
NuGet\Install-Package DotNetBrightener.Plugins.EventPubSub.DependencyInjection -Version 2024.0.14.6-preview-2510703                
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-2510703" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetBrightener.Plugins.EventPubSub.DependencyInjection --version 2024.0.14.6-preview-2510703                
#r "nuget: DotNetBrightener.Plugins.EventPubSub.DependencyInjection, 2024.0.14.6-preview-2510703"                
#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=2024.0.14.6-preview-2510703&prerelease

// Install DotNetBrightener.Plugins.EventPubSub.DependencyInjection as a Cake Tool
#tool nuget:?package=DotNetBrightener.Plugins.EventPubSub.DependencyInjection&version=2024.0.14.6-preview-2510703&prerelease                

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. 
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
2024.0.14.6-rc-243031001 109 10/29/2024
2024.0.14.6-rc-243030701 85 10/29/2024
2024.0.14.6-rc-242840501 88 10/10/2024
2024.0.14.6-rc-242820305 80 10/8/2024
2024.0.14.6-rc-242771401 187 10/3/2024
2024.0.14.6-rc-242770501 84 10/3/2024
2024.0.14.6-rc-242770201 93 10/3/2024
2024.0.14.6-rc-242761801 86 10/2/2024
2024.0.14.6-rc-242761601 97 10/2/2024
2024.0.14.6-rc-242761501 81 10/2/2024
2024.0.14.6-rc-242761401 92 10/2/2024
2024.0.14.6-rc-242760701 107 10/2/2024
2024.0.14.6-rc-242751002 97 10/1/2024
2024.0.14.6-rc-242750901 95 10/1/2024
2024.0.14.6-rc-242750502 96 10/1/2024
2024.0.14.6-rc-242750201 96 10/1/2024
2024.0.14.6-rc-242741501 79 9/30/2024
2024.0.14.6-rc-242730701 104 9/29/2024
2024.0.14.6-preview-2730501 85 9/29/2024
2024.0.14.6-preview-2701501 117 9/26/2024
2024.0.14.6-preview-2620901 129 9/18/2024
2024.0.14.6-preview-2570701 106 9/13/2024
2024.0.14.6-preview-2510703 172 9/7/2024
2024.0.14.6-preview-2480501 127 9/4/2024
2024.0.14.6-preview-2430401 143 8/30/2024
2024.0.14.6-preview-242730701 89 9/29/2024
2024.0.14.6-preview-2421703 107 8/29/2024
2024.0.14.6-preview-2421701 93 8/29/2024
2024.0.14.6-preview-2420901 100 8/29/2024
2024.0.14.6-preview-2390101 117 8/26/2024
2024.0.14.6-preview-2381603 117 8/25/2024
2024.0.14.6-preview-2341601 141 8/21/2024
2024.0.14.6-preview-2321602 125 8/20/2024
2024.0.14.6-preview-2190801 137 8/6/2024
2024.0.14.6-preview-2041501 98 7/22/2024
2024.0.14.6-preview-1920603 160 7/10/2024
2024.0.14.6-preview-1920301 108 7/10/2024
2024.0.14.6-preview-1911302 122 7/9/2024
2024.0.14.6-preview-1901001 121 7/8/2024
2024.0.14.6-preview-1900901 116 7/8/2024
2024.0.14.6-preview-1900801 101 7/8/2024
2024.0.14.6-preview-1860304 111 7/4/2024
2024.0.14.5 168 7/1/2024
2024.0.14.5-preview-1811601 108 6/29/2024
2024.0.14.5-preview-1810501 129 6/29/2024
2024.0.14.5-preview-180132 121 6/28/2024
2024.0.14.5-preview-180131 114 6/28/2024
2024.0.14.5-preview-180121 104 6/28/2024
2024.0.14.4 127 6/27/2024
2024.0.14.4-preview-7 107 6/27/2024
2024.0.14.3 115 6/21/2024
2024.0.14.1 118 6/6/2024
2024.0.14.1-preview 115 6/6/2024
2024.0.14-preview-1 104 6/6/2024
2024.0.13.8-preview 112 6/6/2024
2024.0.13.1-preview-0146 114 6/6/2024
2024.0.12.15803-preview-03 110 6/6/2024
2024.0.12.15608 119 6/4/2024
2024.0.12.15515 202 6/3/2024
2024.0.12.15220 118 5/31/2024
2024.0.12.15220-alpha31-240... 103 5/31/2024
2024.0.12.14911 150 5/28/2024
2024.0.12.14910-alpha28-240... 112 5/28/2024
2024.0.12.14823 129 5/27/2024
2024.0.12.14522-alpha7-2405... 105 5/24/2024
2024.0.12.14514-alpha6-2405... 115 5/24/2024
2024.0.12.14511 135 5/24/2024
2024.0.12.14314 157 5/22/2024
2024.0.12.14114 146 5/20/2024
2024.0.12.12815 166 5/7/2024
2024.0.12.12814 134 5/7/2024
2024.0.12.12721 138 5/6/2024
2024.0.12.12702 127 5/5/2024
2024.0.12.12622 131 5/5/2024
2024.0.12.12514 106 5/4/2024
2024.0.12.12512 124 5/4/2024
2024.0.12.12510 115 5/4/2024
2024.0.12.12420 102 5/3/2024
2024.0.12.12319 72 5/2/2024
2024.0.12.12319-rc-2405021801 57 5/2/2024
2024.0.12.12318 68 5/2/2024
2024.0.12.12215 113 5/1/2024
2024.0.12.12011 124 4/29/2024
2024.0.12.11720 119 4/26/2024
2024.0.12.11719 124 4/26/2024
2024.0.12.11621 123 4/25/2024
2024.0.12.11523 109 4/24/2024
2024.0.12.11522 108 4/24/2024
2024.0.12.11417 145 4/23/2024
2024.0.12.11400 126 4/22/2024
2024.0.12.11316 129 4/22/2024
2024.0.11.10220 108 4/11/2024
2024.0.11.10120 108 4/10/2024
2024.0.11.10119 101 4/10/2024
2024.0.11.10115 100 4/10/2024
2024.0.11.9914 136 4/8/2024
2024.0.11.9901 112 4/7/2024
2024.0.11.9823 119 4/7/2024
2024.0.11.9401 117 4/2/2024
2024.0.11.9301 125 4/1/2024
2024.0.11.9206 117 3/31/2024
2024.0.11.9205 111 3/31/2024
2024.0.11.8200 133 3/21/2024
2024.0.11.8122 106 3/21/2024
2024.0.11.8120 112 3/21/2024
2024.0.11.7320 173 3/13/2024
2024.0.11.7316 142 3/13/2024
2024.0.11.7310 121 3/13/2024
2024.0.11 119 3/13/2024
2024.0.10 152 3/3/2024
2024.0.9 135 2/27/2024
2024.0.8 175 2/1/2024
2024.0.7 130 1/26/2024
2024.0.6 123 1/25/2024
2024.0.5 111 1/24/2024
2024.0.4 108 1/24/2024
2024.0.3 132 1/22/2024
2024.0.2 180 1/10/2024
2024.0.1 125 1/9/2024
2024.0.1-alpha-3 124 1/9/2024
2024.0.1-alpha-2 99 1/9/2024
2024.0.1-alpha-1 130 1/3/2024
2024.0.0 174 12/26/2023
2023.0.27 174 12/21/2023
2023.0.26 122 12/21/2023
2023.0.25 152 12/11/2023
2023.0.24 134 12/8/2023
2023.0.23 130 12/6/2023
2023.0.21 164 12/4/2023
2023.0.20 175 11/27/2023
2023.0.19 139 11/20/2023
2023.0.18 161 10/25/2023
2023.0.17 202 10/22/2023
2023.0.16 207 10/16/2023
2023.0.16-alpha-1 102 10/16/2023
2023.0.15 166 10/14/2023
2023.0.14 132 10/14/2023
2023.0.13 128 10/14/2023
2023.0.12 128 10/14/2023
2023.0.11 122 10/10/2023
2023.0.10 138 10/9/2023
2023.0.9 216 8/16/2023
2023.0.8 154 8/15/2023
2023.0.8-alpha-2 231 5/31/2023
2023.0.7 158 5/12/2023
2023.0.6 191 5/10/2023
2023.0.5 141 5/7/2023
2023.0.4 174 4/22/2023
2023.0.3 207 4/19/2023
2023.0.2 206 4/6/2023
2023.0.1 226 3/13/2023
2022.11.0 329 11/21/2022
2022.10.0 387 10/15/2022
2022.9.0 359 9/5/2022