Overview of commonly used public classes / methods

This is a list of public classes and methods in DD4T that are very commonly used in customer implementations.


ClassMethodRationaleKnown customersPriorityNotes
DD4T.DI.Autofac.BootstrapUseDD4TSet DD4T default wiringManyMediumIf we rename this, it must be included in the release notes. Also note that any custom DI implementation also implements a method with the same name and signature.
DD4T.DI.UnityUseDD4TSet DD4T default wiringSomeMediumSee above
DD4T.DI.NinjectUseDD4TSet DD4T default wiringSomeMediumSee above
DD4T ViewModel attributesSee ViewModel Attributes for a complete overviewSupport existing customer ViewModel classesManyVery high
JMSMessageProviderStartListen to invalidation messages from JMS / NMSVasco, FujitsuHighWithout this, cache invalidation will not be triggered by publishing or unpublishing of an item. 
Used by Vasco for output caching with triggered invalidation.
UsesTridionPageDNAAttribute to add to an action method, it will make the Tridion page for the current URL availableNot sureLowNot sure how popular this is
XpmMarkupServiceRenderXpmMarkupForField / Component / PageImplement custom view logicVascoMedium
All factoriesAllThe DD4T factories are the primary entry point into Tridion content.AllVery high
ICacheAgentStore / LoadWhenever you want to cache your own objects.ManyHigh