大致问题如上
I have managed to resolve the issue for my environment. The env is the following: Web proj (asp.net mvc app assembly) and Web.Controllers proj (class library). Routing initialization was made from Web.Controllers. I have figured out that when IIS shuts down an app and then starts in upon request then NOT all references are loaded for Web proj automatically. In particular, my Web.Controllers assembly was not loaded and thus routing was not re-configured upon app re-start. I replaced inderect Web->Web.Controllers dependency (IoC) with direct reference and that solved the issue.
回答者说了 是iis内部的直接引用 和间接引用的问题
所以我想问问 怎么吧间接引用换成直接引用