摘要:
1,与MVC集成见http://simpleinjector.codeplex.com/wikipage?title=Integration%20Guide&referringTitle=Home我们自己建个MVC4项目测试1.1 nuget只需要安装Mvc的集成即可,其它的依赖会自动安装:Install-Package SimpleInjector.Integration.Web.Mvc1.2 Global.asax:protected void Application_Start() { AreaRegistration.RegisterAllAreas... 阅读全文