Skip to content

v0.61.3524

Compare
Choose a tag to compare
@rasmus rasmus released this 26 Jun 18:23
0bba057
  • New: Support for Microsoft.Extensions.DependencyInjection (IServiceProvider
    and IServiceCollection) using the EventFlow.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