EventFlow.AspNetCore
0.73.3933
Prefix Reserved
See the version list below for details.
dotnet add package EventFlow.AspNetCore --version 0.73.3933
NuGet\Install-Package EventFlow.AspNetCore -Version 0.73.3933
<PackageReference Include="EventFlow.AspNetCore" Version="0.73.3933" />
paket add EventFlow.AspNetCore --version 0.73.3933
#r "nuget: EventFlow.AspNetCore, 0.73.3933"
// Install EventFlow.AspNetCore as a Cake Addin #addin nuget:?package=EventFlow.AspNetCore&version=0.73.3933 // Install EventFlow.AspNetCore as a Cake Tool #tool nuget:?package=EventFlow.AspNetCore&version=0.73.3933
AspNetCore 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.AspNetCore.Http (>= 2.0.0)
- Microsoft.AspNetCore.Mvc.Formatters.Json (>= 2.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on EventFlow.AspNetCore:
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 | 126 | 11/16/2024 |
0.83.4713 | 565,168 | 9/7/2021 |
0.82.4684 | 2,207 | 8/30/2021 |
0.82.4659 | 27,279 | 6/17/2021 |
0.81.4483 | 119,561 | 12/14/2020 |
0.80.4377 | 17,564 | 10/1/2020 |
0.79.4216 | 76,207 | 5/13/2020 |
0.78.4205 | 538 | 5/11/2020 |
0.77.4077 | 41,925 | 12/10/2019 |
0.76.4014 | 22,998 | 10/19/2019 |
0.75.3970 | 5,430 | 9/12/2019 |
0.74.3948 | 6,338 | 7/1/2019 |
0.73.3933 | 2,090 | 6/11/2019 |
0.72.3914 | 3,016 | 5/28/2019 |
0.71.3834 | 2,455 | 4/17/2019 |
0.70.3824 | 722 | 4/11/2019 |
0.69.3772 | 5,071 | 2/12/2019 |
0.68.3728 | 2,150 | 12/3/2018 |
0.67.3697 | 4,029 | 10/14/2018 |
0.66.3673 | 1,038 | 9/28/2018 |
0.65.3664 | 1,238 | 9/22/2018 |
0.64.3598 | 3,858 | 8/27/2018 |
0.63.3581 | 1,100 | 8/7/2018 |
0.62.3569 | 1,045 | 7/5/2018 |
0.61.3524 | 1,016 | 6/26/2018 |
0.60.3490 | 891 | 6/18/2018 |
0.59.3396 | 1,051 | 5/23/2018 |
0.58.3377 | 1,009 | 5/13/2018 |
0.57.3359 | 1,081 | 4/30/2018 |
0.56.3328 | 941 | 4/24/2018 |
0.55.3323 | 927 | 4/24/2018 |
0.54.3261 | 905 | 2/25/2018 |
0.53.3204 | 1,061 | 1/25/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`