Last active
September 4, 2018 15:55
SF_10.1, SF_10.2 - https://docs.sitefinity.com/for-developers-override-the-page-strategies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Telerik.Microsoft.Practices.Unity; | |
using Telerik.Sitefinity.Abstractions; | |
using Telerik.Sitefinity.Data; | |
using Telerik.Sitefinity.Web.Compilation; | |
namespace SitefinityWebApp | |
{ | |
public class Global : System.Web.HttpApplication | |
{ | |
private void BootstrapperInitialized(object sender, ExecutedEventArgs e) | |
{ | |
if (e.CommandName == "Bootstrapped") | |
{ | |
ObjectFactory.Container.RegisterType<IPageKeyStrategy, CustomFrontendPageKeyStrategy>("Frontend"); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment