Ensures more IoC services are there, creates new GetContentXml methods on IContentServices, updates the xml cache 'content' class to use these methods, removes more checks for legacy XML structures, removes old xsd schema files.
This commit is contained in:
@@ -322,6 +322,8 @@ namespace Umbraco.Web
|
||||
|
||||
container.EnablePerWebRequestScope();
|
||||
|
||||
//no need to declare as per request, it's lifetime is already managed as a singleton
|
||||
container.Register<HttpContextBase>(factory => new HttpContextWrapper(HttpContext.Current));
|
||||
container.RegisterSingleton<IHttpContextAccessor, DefaultHttpContextAccessor>();
|
||||
container.RegisterSingleton<IUmbracoContextAccessor, DefaultUmbracoContextAccessor>();
|
||||
container.RegisterSingleton<IPublishedContentCache>(factory => new PublishedContentCache());
|
||||
|
||||
Reference in New Issue
Block a user