在MVC5中使用Spring.Net通过自己写
IApplicationContext ctx = ContextRegistry.GetContext(); IUserService userInfoService = (IUserService)ctx.GetObject("UserService");
不会出现问题,
但是在Global中修改HttpApplication为SpringMvcApplication就会出现以下错误?