EventFlow.Elasticsearch 0.73.3933

Elasticsearch support for EventFlow

Install-Package EventFlow.Elasticsearch -Version 0.73.3933
dotnet add package EventFlow.Elasticsearch --version 0.73.3933
<PackageReference Include="EventFlow.Elasticsearch" Version="0.73.3933" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EventFlow.Elasticsearch --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:
```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`

Version History

Version Downloads Last updated
0.73.3933 64 6/11/2019
0.72.3914 83 5/28/2019
0.71.3834 2,176 4/17/2019
0.70.3824 450 4/11/2019
0.69.3772 1,758 2/12/2019
0.68.3728 8,905 12/3/2018
0.67.3697 2,254 10/14/2018
0.66.3673 167 9/28/2018
0.65.3664 123 9/22/2018
0.64.3598 147 8/27/2018
0.63.3581 461 8/7/2018
0.62.3569 4,694 7/5/2018
0.61.3524 167 6/26/2018
0.60.3490 197 6/18/2018
0.59.3396 183 5/23/2018
0.58.3377 189 5/13/2018
0.57.3359 223 4/30/2018
0.56.3328 193 4/24/2018
0.55.3323 198 4/24/2018
0.54.3261 196 2/25/2018
0.53.3204 271 1/25/2018
0.52.3178 914 11/2/2017
0.51.3155 198 10/25/2017
0.50.3124 282 10/21/2017
0.49.3031 207 9/7/2017
0.48.2937 317 7/11/2017
0.47.2894 868 6/28/2017
0.46.2886 362 5/29/2017
0.45.2877 220 5/28/2017
0.44.2832 402 5/12/2017
0.43.2806 287 5/5/2017
0.42.2755 237 5/2/2017
0.41.2727 220 4/27/2017
0.40.2590 308 3/30/2017
0.39.2553 292 1/16/2017
0.38.2454 272 12/2/2016
0.37.2424 258 11/8/2016
0.36.2315 253 10/18/2016
0.35.2247 286 9/6/2016
0.34.2221 257 8/23/2016
0.33.2190 262 8/16/2016
0.32.2163 287 7/4/2016