WebActivator PreApplicationStartMethod not working

本小妞迷上赌 提交于 2019-12-06 05:20:46

Your Onion.Bootstrapper project corresponds to the outermost layer of your Onion Architecture. It's the only projects that references all the others.

Using WebActivator allows you to avoid having to reference Onion.Bootstrapper in WebApplication. The RegisterDependencies method will be called on pre-application start.

To make this works, the only thing you need to do is to make sure the Onion.Bootstrapper dll is pushed to WebApplication /bin directory ( (easy to set up using a post build action or OutputTo nugget package)).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!