protected void Application_Start()
{
cmsHost = CmsContext.RegisterHost();
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
AddCategoryEvents();
AddContentEvents();
AddLayoutEvents();
AddPageEvents();
AddRedirectEvents();
AddSitemapEvents();
AddTagEvents();
AddWidgetEvents();
AddLanguageEvents();
AddBlogPostEvents();
AddBlogAuthorEvents();
AddMediaManagerEvents();
AddUsersEvents();
AddNewsletterEvents();
cmsHost.OnApplicationStart(this);
}