v0.61.3524
-
New: Support for
Microsoft.Extensions.DependencyInjection
(IServiceProvider
andIServiceCollection
) using theEventFlow.DependencyInjection
NuGet package.Add it to your ASP.NET Core 2.0 application:
public void ConfigureServices(IServiceCollection services) { services.AddMvc(); services.AddEventFlow(o => o.AddDefaults(MyDomainAssembly)); }
Or use it explicitly:
EventFlowOptions.New. .UseServiceCollection() ... .CreateServiceProvider();
-
New: Package
EventFlow.Autofac
now references Autofac 3.5.2 for .NET
framework 4.5.1 (down from Autofac v4.5.0) -
Fixed: Constructor injection of scoped instances into query handlers