public void Initialize(N2.Engine.IEngine engine) { //log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo(Server.MapPath("~/N2/Installation/log4net.config"))); RegisterControllerFactory(ControllerBuilder.Current, engine); RegisterRoutes(RouteTable.Routes, engine); RegisterViewEngines(ViewEngines.Engines); RegisterViewTemplates(engine); }
public void Initialize(N2.Engine.IEngine engine) { // When using Dinamico check out /Dinamico/GlobalMvcStarter.cs which // configures these settings specifically for Dinamico RegisterControllerFactory(ControllerBuilder.Current, engine); RegisterRoutes(RouteTable.Routes, engine); RegisterViewEngines(ViewEngines.Engines); RegisterViewTemplates(engine); }