EventFlow.Autofac 0.73.3933

Autofac support for EventFlow

There is a newer version of this package available.
See the version list below for details.
Install-Package EventFlow.Autofac -Version 0.73.3933
dotnet add package EventFlow.Autofac --version 0.73.3933
<PackageReference Include="EventFlow.Autofac" Version="0.73.3933" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EventFlow.Autofac --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`

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.74.3948 299 7/1/2019
0.73.3933 535 6/11/2019
0.72.3914 599 5/28/2019
0.71.3834 3,004 4/17/2019
0.70.3824 443 4/11/2019
0.69.3772 2,463 2/12/2019
0.68.3728 7,637 12/3/2018
0.67.3697 5,239 10/14/2018
0.66.3673 600 9/28/2018
0.65.3664 2,316 9/22/2018
0.64.3598 4,112 8/27/2018
0.63.3581 2,134 8/7/2018
0.62.3569 5,886 7/5/2018
0.61.3524 755 6/26/2018
0.60.3490 426 6/18/2018
0.59.3396 679 5/23/2018
0.58.3377 262 5/13/2018
0.57.3359 440 4/30/2018
0.56.3328 232 4/24/2018
0.55.3323 207 4/24/2018
0.54.3261 1,334 2/25/2018
0.53.3204 405 1/25/2018
0.52.3178 1,183 11/2/2017
0.51.3155 267 10/25/2017
0.50.3124 211 10/21/2017
0.49.3031 1,064 9/7/2017
0.48.2937 694 7/11/2017
0.47.2894 388 6/28/2017
0.46.2886 324 5/29/2017
0.45.2877 234 5/28/2017
0.44.2832 596 5/12/2017
0.43.2806 323 5/5/2017
0.42.2755 260 5/2/2017
0.41.2727 249 4/27/2017
0.40.2590 2,574 3/30/2017
0.39.2553 353 1/16/2017
0.38.2454 448 12/2/2016
0.37.2424 294 11/8/2016
0.36.2315 1,480 10/18/2016
0.35.2247 538 9/6/2016
0.34.2221 277 8/23/2016
0.33.2190 284 8/16/2016
0.32.2163 333 7/4/2016
0.31.2106 300 6/30/2016
0.30.2019 290 6/16/2016
0.29.1973 2,000 4/19/2016
0.28.1852 325 4/5/2016
0.27.1765 3,498 2/25/2016
0.26.1714 297 2/20/2016
0.25.1695 308 2/15/2016
0.24.1563 688 1/25/2016
0.23.1470 1,021 12/5/2015
0.22.1393 1,197 11/19/2015
0.21.1312 497 10/26/2015
0.20.1274 363 10/22/2015
0.19.1225 325 10/19/2015
0.18.1181 489 10/7/2015
0.17.1134 345 9/28/2015
0.16.1120 310 9/27/2015
0.15.1057 346 9/24/2015
0.14.1051 327 9/23/2015
0.13.962 612 9/13/2015
0.12.891 333 9/4/2015
0.11.751 352 8/24/2015
0.10.642 334 8/17/2015
0.9.580 342 7/20/2015
0.8.560 346 5/29/2015
0.7.481 317 5/22/2015
0.6.456 348 5/18/2015
0.5.390 329 5/8/2015
0.4.353 325 5/5/2015
0.3.292 335 4/30/2015