I am integrating another product to work on EPiServer and that product also requires that global.ascx inherits from OtherProduct.Global. I see that EPiServer also wants global.asx to inherit from EPiServer.Global - if I remove that, EPiServer does not like it. Clearly, I can not inherit from 2. Either OtherProduct.Global needs to inherit from EPiServer.Global or EPiServer.Global needs to inherit from OtherProduct.Global to maintain the chain of inheritence. Unfortunately, I see that both EPiServer and the other product has blackboxed their Global.dll. Any suggestions? :|
Typically you can copy out the required code using Reflector, ILSpy or similar and add it to your own custom Global class.
Bare minimum you need to do is to call thse 2 lines in your custom global class constructor:
Not sure of complexity of that "other product" however I think that you should try to inherit more from EPiServer global site class rather than from product global class as there is much more stuff going on actually behind the scene in EPiServer global class.