EventFlow.Autofac
0.50.3124
Prefix Reserved
See the version list below for details.
dotnet add package EventFlow.Autofac --version 0.50.3124
NuGet\Install-Package EventFlow.Autofac -Version 0.50.3124
<PackageReference Include="EventFlow.Autofac" Version="0.50.3124" />
paket add EventFlow.Autofac --version 0.50.3124
#r "nuget: EventFlow.Autofac, 0.50.3124"
// Install EventFlow.Autofac as a Cake Addin #addin nuget:?package=EventFlow.Autofac&version=0.50.3124 // Install EventFlow.Autofac as a Cake Tool #tool nuget:?package=EventFlow.Autofac&version=0.50.3124
Autofac 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 | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net451 is compatible. net452 was computed. net46 was computed. 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 | tizen30 was computed. 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. |
-
.NETFramework 4.5.1
-
.NETStandard 1.6
- Autofac (>= 4.5.0)
- EventFlow (>= 0.50.3124)
- NETStandard.Library (>= 1.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on EventFlow.Autofac:
Repository | Stars |
---|---|
twzhangyang/RestAirline
DDD+CQRS+EventSourcing+Hypermedia API+ASP.NET Core 3.1+Masstransit+terraform+docker+k8s
|
|
OKTAYKIR/EventFlow.Example
DDD+CQRS+Event-sourcing examples using EventFlow following CQRS-ES architecture. It is configured with RabbitMQ, MongoDB(Snapshot store), PostgreSQL(Read store), EventStore(GES). It's targeted to .Net Core 2.2 and include docker compose file.
|
Version | Downloads | Last updated |
---|---|---|
0.84.4 | 3 | 11/16/2024 |
0.83.4713 | 70,011 | 9/7/2021 |
0.82.4684 | 2,341 | 8/30/2021 |
0.82.4659 | 19,814 | 6/17/2021 |
0.81.4483 | 13,387 | 12/14/2020 |
0.80.4377 | 7,063 | 10/1/2020 |
0.79.4216 | 58,497 | 5/13/2020 |
0.78.4205 | 1,091 | 5/11/2020 |
0.77.4077 | 31,902 | 12/10/2019 |
0.76.4014 | 6,044 | 10/19/2019 |
0.75.3970 | 3,047 | 9/12/2019 |
0.74.3948 | 10,031 | 7/1/2019 |
0.73.3933 | 3,284 | 6/11/2019 |
0.72.3914 | 4,498 | 5/28/2019 |
0.71.3834 | 5,145 | 4/17/2019 |
0.70.3824 | 1,580 | 4/11/2019 |
0.69.3772 | 4,769 | 2/12/2019 |
0.68.3728 | 11,466 | 12/3/2018 |
0.67.3697 | 6,833 | 10/14/2018 |
0.66.3673 | 2,107 | 9/28/2018 |
0.65.3664 | 5,197 | 9/22/2018 |
0.64.3598 | 5,639 | 8/27/2018 |
0.63.3581 | 3,737 | 8/7/2018 |
0.62.3569 | 7,611 | 7/5/2018 |
0.61.3524 | 2,252 | 6/26/2018 |
0.60.3490 | 1,917 | 6/18/2018 |
0.59.3396 | 2,528 | 5/23/2018 |
0.58.3377 | 1,836 | 5/13/2018 |
0.57.3359 | 1,933 | 4/30/2018 |
0.56.3328 | 1,663 | 4/24/2018 |
0.55.3323 | 1,717 | 4/24/2018 |
0.54.3261 | 2,658 | 2/25/2018 |
0.53.3204 | 1,739 | 1/25/2018 |
0.52.3178 | 2,506 | 11/2/2017 |
0.51.3155 | 1,523 | 10/25/2017 |
0.50.3124 | 1,471 | 10/21/2017 |
0.49.3031 | 2,359 | 9/7/2017 |
0.48.2937 | 1,986 | 7/11/2017 |
0.47.2894 | 1,676 | 6/28/2017 |
0.46.2886 | 1,624 | 5/29/2017 |
0.45.2877 | 1,518 | 5/28/2017 |
0.44.2832 | 2,180 | 5/12/2017 |
0.43.2806 | 1,631 | 5/5/2017 |
0.42.2755 | 1,563 | 5/2/2017 |
0.41.2727 | 1,561 | 4/27/2017 |
0.40.2590 | 4,661 | 3/30/2017 |
0.39.2553 | 1,657 | 1/16/2017 |
0.38.2454 | 1,691 | 12/2/2016 |
0.37.2424 | 1,820 | 11/8/2016 |
0.36.2315 | 2,758 | 10/18/2016 |
0.35.2247 | 1,837 | 9/6/2016 |
0.34.2221 | 1,554 | 8/23/2016 |
0.33.2190 | 1,559 | 8/16/2016 |
0.32.2163 | 1,653 | 7/4/2016 |
0.31.2106 | 1,596 | 6/30/2016 |
0.30.2019 | 1,938 | 6/16/2016 |
0.29.1973 | 3,276 | 4/19/2016 |
0.28.1852 | 1,649 | 4/5/2016 |
0.27.1765 | 5,223 | 2/25/2016 |
0.26.1714 | 1,548 | 2/20/2016 |
0.25.1695 | 1,615 | 2/15/2016 |
0.24.1563 | 1,966 | 1/25/2016 |
0.23.1470 | 2,454 | 12/5/2015 |
0.22.1393 | 2,559 | 11/19/2015 |
0.21.1312 | 1,757 | 10/26/2015 |
0.20.1274 | 1,628 | 10/22/2015 |
0.19.1225 | 1,606 | 10/19/2015 |
0.18.1181 | 1,880 | 10/7/2015 |
0.17.1134 | 1,716 | 9/28/2015 |
0.16.1120 | 1,706 | 9/27/2015 |
0.15.1057 | 1,735 | 9/24/2015 |
0.14.1051 | 1,677 | 9/23/2015 |
0.13.962 | 1,919 | 9/13/2015 |
0.12.891 | 1,619 | 9/4/2015 |
0.11.751 | 1,646 | 8/24/2015 |
0.10.642 | 1,644 | 8/17/2015 |
0.9.580 | 1,721 | 7/20/2015 |
0.8.560 | 1,669 | 5/29/2015 |
0.7.481 | 1,696 | 5/22/2015 |
0.6.456 | 1,635 | 5/18/2015 |
0.5.390 | 1,601 | 5/8/2015 |
0.4.353 | 1,583 | 5/5/2015 |
0.3.292 | 1,706 | 4/30/2015 |
New: While EventFlow tries to limit the about of painful API changes, the
introduction of execution/command results are considered a necessary step
towards as better API.
Commands and command handlers have been updated to support execution
results. Execution results is meant to be an alternative to throwing domain
exceptions to do application flow. In short, before you were required to
throw an exception if you wanted to abort execution and "return" a failure
message.
The introduction of execution results changes this, as it allows
returning a failed result that is passed all the way back to the command
publisher. Execution results are generic and can thus contain e.g. any
validation results that a UI might need. The `ICommandBus.PublishAsync`
signature has changed to reflect this.
from
```csharp
Task<ISourceId> PublishAsync<TAggregate, TIdentity, TSourceIdentity>(
ICommand<TAggregate, TIdentity, TSourceIdentity> command)
where TAggregate : IAggregateRoot<TIdentity>
where TIdentity : IIdentity
where TSourceIdentity : ISourceId
```
to
```csharp
Task<TExecutionResult> PublishAsync<TAggregate, TIdentity, TExecutionResult>(
ICommand<TAggregate, TIdentity, TExecutionResult> command,
CancellationToken cancellationToken)
where TAggregate : IAggregateRoot<TIdentity>
where TIdentity : IIdentity
where TExecutionResult : IExecutionResult
```
Command handler signature has changed from
```csharp
Task ExecuteAsync(
TAggregate aggregate,
TCommand command,
CancellationToken cancellationToken);
```
to
```csharp
Task<TExecutionResult> ExecuteCommandAsync(
TAggregate aggregate,
TCommand command,
CancellationToken cancellationToken)
```
Migrating to the new structure should be seamless if your current code base
inherits its command handlers from the provided `CommandHandler<,,>` base
class.
Breaking: Source IDs on commands have been reworked to "make room" for
execution results on commands. The generic parameter from `ICommand<,,>`
and `ICommandHandler<,,,>` has been removed in favor of the new execution
results. `ICommand.SourceId` is now of type `ISourceId` instead of using
the generic type and the `ICommandBus.PublishAsync` no longer returns
`Task<ISourceId>`
To get code that behaves similar to the previous version, simply take the
`ISourceId` from the command, i.e., instead of this
```csharp
var sourceId = await commandBus.PublishAsync(command);
```
write this
```csharp
await commandBus.PublishAsync(command);
var sourceId = command.SourceId;
```
(`CancellationToken` and `.ConfigureAwait(false)` omitted fromt he above)
Breaking: Upgraded NuGet dependency on `RabbitMQ.Client` from `>= 4.1.3`
to `>= 5.0.1`