Default Model Binder

Feb 4, 2012 at 4:58 PM

Is there an MVCTurbine hook for the eqivilent of the following (normally in global.asax)?

void Application_Start()
{
  RegisterModelBinders(ModelBinders.Binders);
}
 
public void RegisterModelBinders(ModelBinderDictionary binders)
{
  binders.DefaultBinder = new Microsoft.Web.Mvc.DataAnnotations.DataAnnotationsModelBinder();
}