AI OnAI Off
Typically you can copy out the required code using Reflector, ILSpy or similar and add it to your own custom Global class.
Frederik
Bare minimum you need to do is to call thse 2 lines in your custom global class constructor:
using EPiServer.Web.Routing;
..
EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType.WebApplication);
RouteTable.Routes.RegisterRoutes();
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.
Hello,
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? :|