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.
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:
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
Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity