Application settings

The following table lists configurations that you can make via the appsettings.json file of your ASP.NET Core Renderer application:

Setting Type Description
Url
string
Points to the URL of Sitefinity CMS.
WebServicePath
string
The path to the web service.
The default value is api/default
WebServiceApiKey
string
A key that you use to restrict the web service to be accessible only from the Renderer application.
HostHeaderName
string
The user when the Renderer application is hosted in Azure.
For more information, see Hosting configurations » Configure the Renderer for Azure App Services.
DateFormatSource
string
Determines how to handle dates.
You can set it to Client or Server, depending on which timezone you want to use – the one of the server (Sitefinity CMS) or the one of the client (browser).
For more information, see Format the date and time fields.
ServerDateFormat
string
If you are using Server as the date format source, this is a custom date-time string, with which all dates are formatted.
For example, yyyy-MM-ddTHH:mm:ss.fff
LocalValidationKey or
RemoteValidationKey
string
The key used when you host the Renderer in Sitefinity Cloud.
For more information, see ASP.NET Core Renderer in Sitefinity Cloud.
IgnoreSslErrors
bool Use this setting only during development, in case the SSL certificate of Sitefinity CMS may not be recognized as valid.
Its value can be true or false
DefaultPageCacheExpiration
number The default value of the page cache expiration in seconds for all pages.
The default value is 60 seconds.

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

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to 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

Configure cache