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 | 411 | 11/16/2024 |
0.83.4713 | 568,765 | 9/7/2021 |
0.82.4684 | 2,209 | 8/30/2021 |
0.82.4659 | 27,502 | 6/17/2021 |
0.81.4483 | 120,337 | 12/14/2020 |
0.80.4377 | 17,633 | 10/1/2020 |
0.79.4216 | 76,308 | 5/13/2020 |
0.78.4205 | 540 | 5/11/2020 |
0.77.4077 | 41,951 | 12/10/2019 |
0.76.4014 | 23,002 | 10/19/2019 |
0.75.3970 | 5,432 | 9/12/2019 |
0.74.3948 | 6,341 | 7/1/2019 |
0.73.3933 | 2,092 | 6/11/2019 |
0.72.3914 | 3,018 | 5/28/2019 |
0.71.3834 | 2,463 | 4/17/2019 |
0.70.3824 | 728 | 4/11/2019 |
0.69.3772 | 5,082 | 2/12/2019 |
0.68.3728 | 2,158 | 12/3/2018 |
0.67.3697 | 4,035 | 10/14/2018 |
0.66.3673 | 1,057 | 9/28/2018 |
0.65.3664 | 1,245 | 9/22/2018 |
0.64.3598 | 3,864 | 8/27/2018 |
0.63.3581 | 1,108 | 8/7/2018 |
0.62.3569 | 1,051 | 7/5/2018 |
0.61.3524 | 1,022 | 6/26/2018 |
0.60.3490 | 900 | 6/18/2018 |
0.59.3396 | 1,057 | 5/23/2018 |
0.58.3377 | 1,018 | 5/13/2018 |
0.57.3359 | 1,090 | 4/30/2018 |
0.56.3328 | 950 | 4/24/2018 |
0.55.3323 | 934 | 4/24/2018 |
0.54.3261 | 911 | 2/25/2018 |
0.53.3204 | 1,070 | 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`