Skip to content

Instantly share code, notes, and snippets.

@victorighalo
Last active June 14, 2018 22:40
Show Gist options
  • Save victorighalo/767120d996fdabab0c5d4cb6080228ed to your computer and use it in GitHub Desktop.
Save victorighalo/767120d996fdabab0c5d4cb6080228ed to your computer and use it in GitHub Desktop.
Register Events in Umbraco
using Umbraco.Core;
using System.Web.Routing;
using WyzWeb.Public.App_Code.RouteConfig;
namespace WyzWeb.Public.App_Code.BusinessLogic
{
public class RegisterEvents : ApplicationEventHandler
{
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
Routing.RegisterRoutes(RouteTable.Routes);
base.ApplicationStarted(umbracoApplication, applicationContext);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment