Setup procedure with .NET CLI


The following article describes how to setup Sitefinity CMS to work with a standalone ASP.NET Core application as renderer.

Sitefinity comes with an ASP.NET Core Sitefinity template, which allows you to quickly setup your renderer and start using it. To do this, you use the .NET CLI that comes with the .NET Core SDK.

You first configure Sitefinity CMS to work with the Renderer, then use the .NET CLI to setup and run the ASP.NET Core Renderer.

You can use this quick setup instead of the following steps of Install Sitefinity in ASP.NET Core mode procedure:

  • Create the ASP.NET Core web application
  • Install the ASP.NET Core Renderer
  • Configure the ASP.NET Core Renderer
  • Run the Renderer

Quick setup procedure

After you have installed, set up, and configured Sitefinity CMS, using procedure Install Sitefinity in ASP.NET Core mode, perform the following: 

  1. Setup Sitefinity CMS, using the procedure above.
  2. Run the .NET CLI.
  3. Add Sitefinity NuGet source with the following command:
    dotnet nuget add source
  4. Install the template with the following command:
    dotnet new -i Progress.Sitefinity.AspNetCore.Templates::*
  5. Create a new Renderer app with the following command:
    dotnet new sitefinity --project-name "YourProjectName" --sfurl "http://your.sitefinity.url"
  6. Add a widget to your project with the following command:
    dotnet new sitefinity-widget --widget-name "YourWidgetName"
  7. Start the renderer using the following command:
    dotnet run

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

Application settings