UmbracoRequestBegin and UmbracoRequestEnd part of the core proj and changed to just have a IUmbracoContext reference. Removes IRequestAccessor events, Fixes the DatabaseServerMessengerNotificationHandler weirdness, Removes UmbracoModule and friends and old routing events and statuses

This commit is contained in:
Shannon
2021-02-02 18:42:39 +11:00
parent 9e43ff8662
commit 86fd473018
22 changed files with 76 additions and 663 deletions

View File

@@ -38,6 +38,7 @@ namespace Umbraco.Infrastructure.DependencyInjection
builder.SetDatabaseServerMessengerCallbacks(GetCallbacks);
builder.SetServerMessenger<BatchedDatabaseServerMessenger>();
builder.AddNotificationHandler<UmbracoApplicationStarting, DatabaseServerMessengerNotificationHandler>();
builder.AddNotificationHandler<UmbracoRequestEnd, DatabaseServerMessengerNotificationHandler>();
return builder;
}