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:
Shannon
2016-03-11 13:54:56 +01:00
parent 6ee5457a81
commit 15a48dd921
16 changed files with 116 additions and 477 deletions

View File

@@ -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());