EventFlow.EntityFramework 0.73.3933

Entity Framework Core support for EventFlow

There is a newer version of this package available.
See the version list below for details.
Install-Package EventFlow.EntityFramework -Version 0.73.3933
dotnet add package EventFlow.EntityFramework --version 0.73.3933
<PackageReference Include="EventFlow.EntityFramework" Version="0.73.3933" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EventFlow.EntityFramework --version 0.73.3933
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

New: Configure JSON serialization:
.ConfigureJson(json => json
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:
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`

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.75.3970 221 9/12/2019
0.74.3948 632 7/1/2019
0.73.3933 663 6/11/2019
0.72.3914 435 5/28/2019
0.71.3834 624 4/17/2019
0.70.3824 252 4/11/2019
0.69.3772 2,464 2/12/2019
0.68.3728 790 12/3/2018
0.67.3697 2,509 10/14/2018
0.66.3673 240 9/28/2018
0.65.3664 164 9/22/2018