I try to write a bootstrapper based on AspectCore for NancyFx in this project. And I finished it, but... When I ran a demo, some exceptions thrown.... because of the empty nancy environment (which implement by the default one). Why that happend?
I look for the reason in Nancy.Bootstrappers.Autofac but found nothing different whitout one point: Autofac can update after it has been built, but AspectCore (of course includes Microsoft.Extensions.DependencyInjection) can not do that. In AspectCore, I used IServiceContainer and got IServiceResolver after build. Also, in MSDI, I used a IServiceCollection and got a IServiceProvider after build.
I use AspectCore to boot nancy for its AOP feature... and can you give me a hand?
thank you very much.