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 a .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 .NET Core Renderer.

Configure Sitefinity CMS

After creating and configuring your ASP.NET Core application, you have to configure your Sitefinity CMS. Perform the following:

  1. In Sitefinity CMS backend, navigate to Administration » Web services.
  2. Open the Default web service.
  3. Under Who can access the content by this service?, select Everyone.
  4. Save your changes.

Quick setup procedure

  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

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Setup procedure