IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
The Telerik.Sitefinity.Abstractions. Bootstrapper class is responsible for Sitefinity CMS initialization. The events exposed by Bootstrapper enable you to execute logic prior to the point when Sitefinity loads its UI (administrative and frontend) for users, thus giving you control over the state in which Sitefinity is served. Most common scenarios when using the Bootstrapper events include working with objects in the Unity container (ObjectFactory), registering custom routes, dialogs, and so on.
Telerik.Sitefinity.Abstractions. Bootstrapper
ObjectFactory
Bootstrapper exposes several public events. However, we recommend using the Bootstrapped event in most scenarios. The event is fired at the last stage of the bootstrapping process when the system has already initialized the Unity container, registered routes and modules, and finalized module upgrades (if any). For more information about Sitefinity startup process, see Sitefinity CMS startup process.
Following is an example demonstrating how to subscribe to the Bootstrapped event in Global.asax and replace one of the default types used by Sitefinity with a custom type via ObjectFactory:
Global.asax
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important