Class UmbracoApplicationBase
The abstract class for the Umbraco HttpApplication
Inheritance
System.Object
System.Web.HttpApplication
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public abstract class UmbracoApplicationBase : HttpApplication, IComponent, IDisposable, IHttpAsyncHandler, IHttpHandler, IRequestCompletedNotifier, ISyncContext
Properties
Logger
Declaration
protected ILogger Logger { get; }
Property Value
Methods
Application_End(Object, EventArgs)
Declaration
protected void Application_End(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Application_Error(Object, EventArgs)
Declaration
protected void Application_Error(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Application_Start(Object, EventArgs)
Initializes the Umbraco application
Declaration
protected void Application_Start(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
GetBootManager()
Declaration
protected abstract IBootManager GetBootManager()
Returns
Init()
Override init and raise the event
Declaration
public override void Init()
OnApplicationEnd(Object, EventArgs)
A method that can be overridden to invoke code when the application shuts down.
Declaration
protected virtual void OnApplicationEnd(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
OnApplicationError(Object, EventArgs)
A method that can be overridden to invoke code when the application has an error.
Declaration
protected virtual void OnApplicationError(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
OnApplicationStarted(Object, EventArgs)
Developers can override this method to do anything they need to do once the application startup routine is completed.
Declaration
protected virtual void OnApplicationStarted(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
OnApplicationStarting(Object, EventArgs)
Developers can override this method to modify objects on startup
Declaration
protected virtual void OnApplicationStarting(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Events
ApplicationInit
Called when the HttpApplication.Init() is fired, allows developers to subscribe to the HttpApplication events
Declaration
public static event EventHandler ApplicationInit
Event Type
Type |
Description |
System.EventHandler |
|
ApplicationStarted
Declaration
public static event EventHandler ApplicationStarted
Event Type
Type |
Description |
System.EventHandler |
|
ApplicationStarting
Declaration
public static event EventHandler ApplicationStarting
Event Type
Type |
Description |
System.EventHandler |
|