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.

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

Configure cache