Move Web.Current to Composing

This commit is contained in:
Stephan
2017-05-30 18:13:11 +02:00
parent 1f5c47f029
commit 7ea9c9c8e2
230 changed files with 253 additions and 60 deletions

View File

@@ -5,6 +5,7 @@ using System.Xml;
using Umbraco.Core;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Web.Composing;
namespace Umbraco.Web.PublishedCache.XmlPublishedCache
{

View File

@@ -21,6 +21,7 @@ using UmbracoExamine;
using umbraco;
using Umbraco.Core.Cache;
using Umbraco.Core.Services;
using Umbraco.Web.Composing;
namespace Umbraco.Web.PublishedCache.XmlPublishedCache
{
@@ -258,7 +259,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
catch (AlreadyClosedException)
{
//If the app domain is shutting down and the site is under heavy load the index reader will be closed and it really cannot
//be re-opened since the app domain is shutting down. In this case we have no option but to try to load the data from the db.
//be re-opened since the app domain is shutting down. In this case we have no option but to try to load the data from the db.
}
return null;
}

View File

@@ -8,6 +8,7 @@ using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Configuration;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web.Composing;
using Umbraco.Web.Models;
namespace Umbraco.Web.PublishedCache.XmlPublishedCache

View File

@@ -23,6 +23,7 @@ using Umbraco.Core.Services.Changes;
using Umbraco.Core.Strings;
using Umbraco.Core.Xml;
using Umbraco.Web.Cache;
using Umbraco.Web.Composing;
using Umbraco.Web.Scheduling;
using Content = umbraco.cms.businesslogic.Content;
using File = System.IO.File;