Application structure

Application file structure

When you create your widgets and layout files, you place them in folders under your Renderer project's root folder. We recommend having a structure similar to the following:

Project template

You can use the project template, provided in Sitefinity's GitHub repository to get you started with the overall structure of the Renderer project.

  • The overall project folder structure is configured for developing with the Sitefinity ASP.NET Core Renderer.
  • The required service registrations and pipeline configurations are added to the Program.cs file.
  • There is a sample layout file included, which has examples for referencing JavaScript and CSS files.
  • The launch settings file is configured to host the application with ports 5000 for HTTP and 5001 for HTTPS.

Use the template

To use the template to start your development, perform the following:

  1. Download the Starter template from Sitefinity's GitHub repository.
  2. Open the project in Visual Studio.
  3. In the appsettings.json file, in "Sitefinity" section, change the "Url" to point to your Sitefinity CMS application.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

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.

Web Security for Sitefinity Administrators

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.

Foundations of Sitefinity ASP.NET Core Development

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.

Was this article helpful?

Next article

REST SDK