You can gradually migrate your Web Forms and MVC pages to Next.js using a hybrid development approach - running all technologies in the same project. This is possible, because with the setup described in this article, the renderer do not limit you to creating and editing only Next.js pages.
To have a seamless experience when using the standalone Renderer application together with Sitefinity CMS rendering (running Web Forms or MVC), the Renderer is also working as a proxy with the setup described in this article. It forwards every request it cannot handle to Sitefinity CMS.
NOTE: Rendering ASP.NET Core or Next.js widgets in MVC or Web Forms pages or vice versa is not possible.
If you want to handle legacy MVC and Web Forms pages with Next.js, their URLs must be explicitly specified in one of two places:
middleware.ts
whitelistedPaths
const whitelistedPaths: string[] = ['/legacypageurlone', '/legacypageurltwo'];
env.development
SF_WHITELISTED_PATHS
SF_WHITELISTED_PATHS="/legacypageurlone,/legacypageurltwo"
If the home page of the site is legacy (MVC/Web Forms) navigation to it can be proxied and not rendered in two ways:
SF_IS_HOME_PAGE_LEGACY="true"
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important