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.
Class | Method | Rationale | Known customers | Priority | Notes |
---|---|---|---|---|---|
DD4T.DI.Autofac.Bootstrap | UseDD4T | Set DD4T default wiring | Many | Medium | If 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.Unity | UseDD4T | Set DD4T default wiring | Some | Medium | See above |
DD4T.DI.Ninject | UseDD4T | Set DD4T default wiring | Some | Medium | See above |
DD4T ViewModel attributes | See ViewModel Attributes for a complete overview | Support existing customer ViewModel classes | Many | Very high | |
JMSMessageProvider | Start | Listen to invalidation messages from JMS / NMS | Vasco, Fujitsu | High | Without this, cache invalidation will not be triggered by publishing or unpublishing of an item. Used by Vasco for output caching with triggered invalidation. |
UsesTridionPage | DNA | Attribute to add to an action method, it will make the Tridion page for the current URL available | Not sure | Low | Not sure how popular this is |
XpmMarkupService | RenderXpmMarkupForField / Component / Page | Implement custom view logic | Vasco | Medium | |
All factories | All | The DD4T factories are the primary entry point into Tridion content. | All | Very high | |
ICacheAgent | Store / Load | Whenever you want to cache your own objects. | Many | High | |