signatures of IApplicationEventHandler methods to accept an UmbracoApplicationBase object instead of UmbracoApplication. This allows us to execute all IApplicationEventHandler's outside of the web context. Added unit test to support booting the application outside of the web context.
27 lines
574 B
C#
27 lines
574 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Web;
|
|
using System.Web.Hosting;
|
|
using Umbraco.Core;
|
|
using Umbraco.Core.Logging;
|
|
using Umbraco.Web.Routing;
|
|
using umbraco.businesslogic;
|
|
|
|
namespace Umbraco.Web
|
|
{
|
|
/// <summary>
|
|
/// The Umbraco global.asax class
|
|
/// </summary>
|
|
public class UmbracoApplication : UmbracoApplicationBase
|
|
{
|
|
|
|
protected override IBootManager GetBootManager()
|
|
{
|
|
return new WebBootManager(this);
|
|
}
|
|
}
|
|
}
|