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.
Feather widget assemblies contain the view templates embedded into the assembly. The view templates are retrieved and compiled when a widget is rendered. Because of this, there is a delay of several seconds before a widget is rendered for the first time while the web application is running.
To avoid the initial rendering delay, you can precompile the templates so that they are ready for rendering when the widget is requested. This article describes how to precompile the templates in a widget assembly.
PREREQUISITES: You must have a Feather widget assembly and the views must be templates in C# Razor format (.cshtml)
.cshtml
Perform the following:
RazorGenerator.MsBuild
RESULT: The built assembly contains the precompiled views that Feather will use.
NOTE: All view templates must remain embedded in the assembly.
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