London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
The values that can be set in the appSettings.json are all from classes Suffixed with "Options" at the end. I did a search and found
namespace EPiServer.Licensing
{
public class LicensingOptions
{
public const string DefaultLicenseFile = "License.config";
public string LicenseFilePath { get; set; } = "License.config";
public string LicenseKeySignature { get; set; }
public string LicenseKey { get; set; }
}
}
So if think something like
{
"EPiServer": {
"Licensing": {
"LicensingOptions": {
"LicenseFilePath": "PATH"
}
}
}
}
Might work but I've not testing it, but all Options classes SHOULD be settable.
It could also be just Licensing instead of LicensingOptions in that lower object
This came up once before on the forums -- in that thread, the answer they came up with was:
"EPiServer": {
"CMS": {
"LicensePath": {
"Path": "./License.Staging.config"
Hello.
Deploying a new v12 site, and need to know how to set the path to the license file using appsettings.json.
Does anyone know?
Regards,
Peder