mercredi 7 mars 2018

lose Dependency injection when use reflection with .NET CORE 2.0(abp)

I develope under the abp with Dependency injection using Castle Windsor. When I using the reflections of .NET CORE, the methods of objection that reflections generate cannot create other objection using dependencies.
code: Abp.AbpBootstrapper.Create().IocManager.IocContainer.Resolve();

However, the above problem does not exist under the abp in .net framework. Has anyone had such problem before?





Aucun commentaire:

Enregistrer un commentaire