public void Init(HttpApplication context) { Action <NameValueCollection, bool> setReadOnly; var isReadOnly = AppHarbor.InitializeExpressions(out setReadOnly); context.BeginRequest += (sender, args) => AppHarbor.RemapForAppHarbor(isReadOnly, setReadOnly); }
public static void PreAppInit() { if (Disabled()) { return; } if (AppHarbor.IsHosting()) { DynamicModuleUtility.RegisterModule(typeof(AppHarborModule)); } RegisterPipelineModules(); RunPreStartMethods(); }
public static void Install() { var disableValue = ConfigurationManager.AppSettings["minirack_Bypass"]; bool disable; bool.TryParse(disableValue, out disable); if (disable) { return; } if (AppHarbor.IsHosting()) { DynamicModuleUtility.RegisterModule(typeof(AppHarborModule)); } RegisterPipelineModules(); }