v7.0.0
版本发布时间: 2019-05-01 04:23:52
jbogard/MediatR.Extensions.Microsoft.DependencyInjection最新发布版本:v11.1.0(2023-02-15 21:41:26)
This release targets the 7.0.0 release of MediatR.
It also includes fixes for:
- Adding multiple pre/post request processors #59
- Change default lifetime of services to transient #66
- Making registration methods public #22 #60
- Signing the package #62
- Removed AppDomain scanning #70
The last one is a breaking change. It is now required to pass in the assemblies to scan due to loading exceptions. Instead of:
services.AddMediatR();
You'll need:
services.AddMediatR(typeof(Startup), typeof(Core) /* any other assemblies to scan */);