Blaze.MvcApplication.Application_BeginRequest C# (CSharp) Method

Application_BeginRequest() protected method

protected Application_BeginRequest ( ) : void
return void
        protected void Application_BeginRequest()
        {
            var context = HttpContext.Current;
            var bundle = context.Request["bundle"];
            if( bundle != null)
            {
                BundleTable.EnableOptimizations = bundle != "0" && bundle != "false";
            }
        }