C# Class Simple301.Core.MyApplication

Inheritance: Umbraco.Core.ApplicationEventHandler
Exibir arquivo Open project: wkallhof/Simple301

Protected Methods

Method Description
ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void

On Application Started we need to ensure that the Redirects table exists. If not, create it

ApplicationStarting ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void

On application starting we inject the Redirect Content Finder into the very first slot of Umbraco's Content Resolver pipeline

Private Methods

Method Description
HandleMigrations ( ) : void

Method Details

ApplicationStarted() protected method

On Application Started we need to ensure that the Redirects table exists. If not, create it
protected ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
return void

ApplicationStarting() protected method

On application starting we inject the Redirect Content Finder into the very first slot of Umbraco's Content Resolver pipeline
protected ApplicationStarting ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
return void