public void CreateModelBinder() { var container = new StructureMapContainer(); IFeature coreServices = new Dolstagis.Web.Lifecycle.CoreServices(); coreServices.ContainerBuilder.SetupApplication(container); binder = container.Get<ModelBinder>(); }