Introduce IContentNestedDataSerializer to allow injecting a custom serializer for nucache

This commit is contained in:
nzdev
2020-07-01 17:19:56 +12:00
parent 90a9ce4c5d
commit 578e1317a0
14 changed files with 245 additions and 28 deletions

View File

@@ -10,6 +10,9 @@ namespace Umbraco.Web.PublishedCache.NuCache
{
base.Compose(composition);
// register the NuCache NestedContentData serializer
composition.Register<IContentNestedDataSerializer, JsonContentNestedDataSerializer>();
// register the NuCache database data source
composition.Register<IDataSource, DatabaseDataSource>();