I have been reading alot of the old threads on what others were doing to get the Application_beginrequest to work and fire the code inside but i have not been able to get it to work. I am trying to test to see if the system is in maintenance and if so redirect to url. It works just fine on IIS Express when running in debug locally in VS2017 but once deployed it never works. I am new to the whole digging into IIS issues between when it works locally on IIS Express and doesn't work on the deployed IIS server (ours is 8.5 version). Any help would be awesome.
Greg