阅读背景:

在使用Unity的asp.net MVC2中,我的程序需要管理容器的生命周期吗?

来源:互联网 

I'm putting the unity container creation/setup in the global.asax. and making the container a static property on that class since i'm not sure how unity works or if the container needs to be kept alive and references elsewhere. What's the recommended location of unity initialization/configuration for mvc 2?I'm putting the unity container creation/setup




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: