Add Hangfire
Adjust namespace
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using LeafWeb.Core.DAL;
|
||||
using Umbraco.Core;
|
||||
|
||||
namespace LeafWeb.WebCms.App_Start
|
||||
{
|
||||
public class RegisterServices : ApplicationEventHandler
|
||||
{
|
||||
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
|
||||
{
|
||||
DataService.RegisterInitializer();
|
||||
HangfireBootstrapper.Instance.Start();
|
||||
|
||||
base.ApplicationStarted(umbracoApplication, applicationContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user