2013-08-17 42 views

回答

1

在你的Global.asax.cs中;

protected void Application_Start() 
    { 

     System.Web.Mvc.ModelBinders.Binders.DefaultBinder = new SmartBinder(); 
    } 

Autofac不需要这样做。

相关问题