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.
In this mode you can add multiple controllers on the same Sitefinity CMS page. This may be confusing for developers who have used regular ASP.NET MVC projects, where controllers correspond to a single page (url). We’ve taken the page abstraction lower. You can think of a Sitefinity CMS page as playing the role of the MVC runtime, which sits before your controllers are invoked and composes the markup each of them generates.
To use Pure mode in Sitefinity CMS, you have to create a template and set its advanced options accordingly. In the Create a template dialog, enter a Name such as MVCPureTemplate, then choose Don't use template, and the Advanced setting MVC only.
Once created, this template and all pages based on it can host MVC based widgets only. You cannot use the WebForms model in this mode. The toolbox will be filtered to only show the custom controllers you have developed as widgets.
For more information on how to implement MVC widgets, please read For developers: Create MVC-based Sitefinity CMS widgets
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