EventFlow.Autofac 0.29.1973

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.29.1973
dotnet add package EventFlow.Autofac --version 0.29.1973
<PackageReference Include="EventFlow.Autofac" Version="0.29.1973" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EventFlow.Autofac --version 0.29.1973
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Breaking: `IAggregateRoot` has some breaking changes. If these methods aren't
used (which is considered the typical case), then the base class
`AggregateRoot<,,>` will automatically handle it
- `CommitAsync` has an additional `ISnapshotStore` parameter. If you don't
use snapshot aggregates, then you can safely pass `null`
- `LoadAsync` is a new method that lets the aggregate control how its
loaded fromt the event- and snapshot stores
New core feature:** EventFlow now support snapshot creation for aggregate
roots. The EventFlow documentation has been updated to include a guide on
how to get started using snapshots. Snapshots are basically an opt-in optimized
method for handling long-lived aggregate roots. Snapshot support in EventFlow
introduces several new elements, read the documentation to get an overview.
Currently EventFlow offers the following snapshot stores
- In-memory
- Microsoft SQL Server
New: The `IAggregateStore` is introduced, which provides a cleaner interface
for manipulating aggregate roots. The most important method is the
`UpdateAsync` which allows easy updates to aggregate roots without the need
for a command and command handler
- `LoadAsync`
- `UpdateAsync`
- `StoreAsync`
New: `IEventStore` now supports loading events from a specific version using
the new overload of `LoadEventsAsync` that takes a `fromEventSequenceNumber`
argument
New: `IMsSqlDatabaseMigrator` now has a overloaded method named
`MigrateDatabaseUsingScripts` that takes an `IEnumerable<SqlScript>`
enabling specific scripts to be used in a database migration
New: Added suport to use EventStore persistence with connection strings
instead IPs only
Obsolete: The following aggregate related methods on `IEventStore` has been
marked as obsolete in favor of the new `IAggregateStore`. The methods will be
removed at some point in the future
- `LoadAggregateAsync`
- `LoadAggregate`

Showing the top 1 GitHub repositories that depend on EventFlow.Autofac:

Repository Stars
twzhangyang/RestAirline
DDD+CQRS+EventSourcing+Hypermedia API+ASP.NET Core 3.1+Masstransit+docker+k8s

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
0.77.4077 1,461 12/10/2019
0.76.4014 2,821 10/19/2019
0.75.3970 1,515 9/12/2019
0.74.3948 5,031 7/1/2019
0.73.3933 1,775 6/11/2019
0.72.3914 2,468 5/28/2019
0.71.3834 3,463 4/17/2019
0.70.3824 479 4/11/2019
0.69.3772 3,437 2/12/2019
0.68.3728 9,292 12/3/2018
0.67.3697 5,621 10/14/2018
0.66.3673 661 9/28/2018
0.65.3664 3,943 9/22/2018
0.64.3598 4,290 8/27/2018
0.63.3581 2,222 8/7/2018
0.62.3569 6,190 7/5/2018
0.61.3524 819 6/26/2018
0.60.3490 485 6/18/2018
0.59.3396 786 5/23/2018
0.58.3377 329 5/13/2018
0.57.3359 509 4/30/2018
0.56.3328 302 4/24/2018
0.55.3323 276 4/24/2018
0.54.3261 1,393 2/25/2018
0.53.3204 473 1/25/2018
0.52.3178 1,244 11/2/2017
0.51.3155 324 10/25/2017
0.50.3124 269 10/21/2017
0.49.3031 1,130 9/7/2017
0.48.2937 754 7/11/2017
0.47.2894 447 6/28/2017
0.46.2886 384 5/29/2017
0.45.2877 292 5/28/2017
0.44.2832 688 5/12/2017
0.43.2806 384 5/5/2017
0.42.2755 319 5/2/2017
0.41.2727 309 4/27/2017
0.40.2590 2,974 3/30/2017
0.39.2553 430 1/16/2017
0.38.2454 507 12/2/2016
0.37.2424 357 11/8/2016
0.36.2315 1,539 10/18/2016
0.35.2247 597 9/6/2016
0.34.2221 335 8/23/2016
0.33.2190 342 8/16/2016
0.32.2163 395 7/4/2016
0.31.2106 359 6/30/2016
0.30.2019 348 6/16/2016
0.29.1973 2,065 4/19/2016
0.28.1852 390 4/5/2016
0.27.1765 3,563 2/25/2016
0.26.1714 362 2/20/2016
0.25.1695 374 2/15/2016
0.24.1563 752 1/25/2016
0.23.1470 1,082 12/5/2015
0.22.1393 1,256 11/19/2015
0.21.1312 561 10/26/2015
0.20.1274 428 10/22/2015
0.19.1225 390 10/19/2015
0.18.1181 555 10/7/2015
0.17.1134 406 9/28/2015
0.16.1120 376 9/27/2015
0.15.1057 411 9/24/2015
0.14.1051 392 9/23/2015
0.13.962 675 9/13/2015
0.12.891 397 9/4/2015
0.11.751 415 8/24/2015
0.10.642 398 8/17/2015
0.9.580 403 7/20/2015
0.8.560 409 5/29/2015
0.7.481 379 5/22/2015
0.6.456 409 5/18/2015
0.5.390 390 5/8/2015
0.4.353 386 5/5/2015
0.3.292 401 4/30/2015
Show less