EventFlow.DependencyInjection
0.73.3933
Prefix Reserved
See the version list below for details.
dotnet add package EventFlow.DependencyInjection --version 0.73.3933
NuGet\Install-Package EventFlow.DependencyInjection -Version 0.73.3933
<PackageReference Include="EventFlow.DependencyInjection" Version="0.73.3933" />
paket add EventFlow.DependencyInjection --version 0.73.3933
#r "nuget: EventFlow.DependencyInjection, 0.73.3933"
// Install EventFlow.DependencyInjection as a Cake Addin #addin nuget:?package=EventFlow.DependencyInjection&version=0.73.3933 // Install EventFlow.DependencyInjection as a Cake Tool #tool nuget:?package=EventFlow.DependencyInjection&version=0.73.3933
Microsoft.Extensions.DependencyInjection support for EventFlow
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- EventFlow (>= 0.73.3933)
- Microsoft.Extensions.DependencyInjection (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EventFlow.DependencyInjection:
Package | Downloads |
---|---|
M5x.EventFlow
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on EventFlow.DependencyInjection:
Repository | Stars |
---|---|
twzhangyang/RestAirline
DDD+CQRS+EventSourcing+Hypermedia API+ASP.NET Core 3.1+Masstransit+terraform+docker+k8s
|
Version | Downloads | Last updated |
---|---|---|
0.84.4 | 98 | 11/16/2024 |
0.83.4713 | 577,089 | 9/7/2021 |
0.82.4684 | 940 | 8/30/2021 |
0.82.4659 | 21,198 | 6/17/2021 |
0.81.4483 | 117,713 | 12/14/2020 |
0.80.4377 | 28,359 | 10/1/2020 |
0.79.4216 | 50,238 | 5/13/2020 |
0.78.4205 | 541 | 5/11/2020 |
0.77.4077 | 42,791 | 12/10/2019 |
0.76.4014 | 21,649 | 10/19/2019 |
0.75.3970 | 4,198 | 9/12/2019 |
0.74.3948 | 6,347 | 7/1/2019 |
0.73.3933 | 1,250 | 6/11/2019 |
0.72.3914 | 2,285 | 5/28/2019 |
0.71.3834 | 1,960 | 4/17/2019 |
0.70.3824 | 744 | 4/11/2019 |
0.69.3772 | 3,695 | 2/12/2019 |
0.68.3728 | 3,118 | 12/3/2018 |
0.67.3697 | 1,262 | 10/14/2018 |
0.66.3673 | 1,046 | 9/28/2018 |
0.65.3664 | 1,233 | 9/22/2018 |
0.64.3598 | 885 | 8/27/2018 |
0.63.3581 | 1,208 | 8/7/2018 |
0.62.3569 | 959 | 7/5/2018 |
0.61.3524 | 949 | 6/26/2018 |
New: Configure JSON serialization:
```csharp
EventFlowOptions.New.
.ConfigureJson(json => json
.AddSingleValueObjects()
.AddConverter<SomeConverter>()
)
```
New: ASP.NET Core enhancements:
- New fluent configuration API for ASP.NET Core components:
`services.AddEventFlow(o => o.AddAspNetCore(c => {...}));` (old syntax
`AddAspNetCoreMetadataProviders` is now deprecated).
- `.RunBootstrapperOnHostStartup()` runs bootstrappers together with ASP.NET
host startup. Previously, this was done in `AddAspNetCoreMetadataProviders`
and led to some confusion.
- `.UseMvcJsonOptions()` adds EventFlow JSON configuration (see below) to ASP.NET Core,
so you can accept and return Single Value Objects as plain strings for example.
- `.Add{Whatever}Metadata()` configures specific metadata provider.
- `.AddUserClaimsMetadata(params string claimTypes)` configures the new claims metadata
provider (for auditing or "ChangedBy" in read models).
- `.UseLogging()` configures an adapter for Microsoft.Extensions.Logging
- `.UseModelBinding()` adds model binding support for Single Value Objects:
```csharp
[HttpGet("customers/{id}")]
public async Task<IActionResult> SingleValue(CustomerId id)
{
if (!ModelState.IsValid)
{
return BadRequest(ModelState);
}
```
Fix: ASP.NET Core `AddRequestHeadersMetadataProvider` doesn't throw when
HttpContext is null.
Fix: `ReadModelRepopulator` now correctly populates `IAmAsyncReadModelFor`