摘要:
ControllerFactory方法一:使用Unity Inject a Controller1, 引用Unityapplication block.2,Adding a Unity Controller FactoryView Code using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using Microsoft.Practices.Unity;using System.Web.Routing;namespace Star.Web{ 阅读全文