Last active
June 14, 2018 22:40
-
-
Save victorighalo/767120d996fdabab0c5d4cb6080228ed to your computer and use it in GitHub Desktop.
Register Events in Umbraco
This file contains 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 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