Skip to content

dd4t/DD4T.Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppVeyor

AppVeyor

DD4T.Model

DD4T content model (.NET) Contains the model classes used in DD4T templates as well as the DD4T presentation layer for .NET.

Release notes for version 2.6.1

  • Upgraded to NewtonSoft 13.0.3
  • Added public static property OverrideMaxDepth to the JSONSerializerService to allow max deserialization depth to be configured from templates (it could already be set via the appSettings, but this is not possible in a Tridion template)

Release notes for version 2.6

Note: if, after upgrading to this version of DD4T, you encounter the error 'Newtonsoft: Getting "The reader's MaxDepth of 64 has been exceeded" error while parse json string into object', you can fix it by adding an appSetting to your Web.config with the key DD4T.JsonSerializerMaxDepth and a higher value than 64. The required value depends on the depth of your content. Component links, embedded fields and metadata can all add to the depth.

Release notes for version 2.5.1

Models are now serializable so they can be persisted in a distributed cache, on a file system, are any other medium that requires serialization.

Release notes for version 2.5

  • Added support for regions (introduced in Tridion 9)
  • Upgraded Newtonsoft.Json to 11.0.2