Azure Classic Front Door
Start typing here...
Configuration
Json Options Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bielu:Cdn:Azure:FrontDoor",
"definitions": {
"BieluUmbracoCdnAzureCommonConfigurationAzureBaseOptions": {
"allOf": [
{
"$ref": "#/definitions/BieluUmbracoCdnCoreConfigurationConfigurationBaseOptions"
},
{
"type": "object",
"properties": {
"AuthenticationType": {
"$ref": "#/definitions/BieluUmbracoCdnAzureCommonModelsAuthenticationType"
},
"ResourceGroupName": {
"type": "string"
},
"SubscriptionId": {
"type": "string"
},
"UserAssignedClientId": {
"type": "string"
}
}
}
]
},
"BieluUmbracoCdnAzureCommonModelsAuthenticationType": {
"type": "string",
"description": "",
"x-enumNames": [
"ManagedIdentityCredential",
"DefaultAzureCredential",
"InteractiveBrowserCredential",
"SharedTokenCacheCredential",
"VisualStudioCredential",
"VisualStudioCodeCredential",
"AzureCliCredential",
"AzurePowerShellCredential",
"EnvironmentCredential"
],
"enum": [
"ManagedIdentityCredential",
"DefaultAzureCredential",
"InteractiveBrowserCredential",
"SharedTokenCacheCredential",
"VisualStudioCredential",
"VisualStudioCodeCredential",
"AzureCliCredential",
"AzurePowerShellCredential",
"EnvironmentCredential"
]
},
"BieluUmbracoCdnCoreConfigurationConfigurationBaseOptions": {
"type": "object",
"properties": {
"Disabled": {
"type": "boolean"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/BieluUmbracoCdnAzureCommonConfigurationAzureBaseOptions"
},
{
"type": "object",
"properties": {
"FrontDoorName": {
"type": "string"
}
}
}
]
}
FrontDoorName
This is a name of Azure Front Door instance. It is required to be able to use Azure Front Door.
Installing Provider
In order to activate provider post installation, you need to add following code to your Startup.cs or Program.cs (for minimal hosting model) file.
In registration of services, after this lines:
services.AddUmbraco(_env, _config)
.AddBackOffice()
.AddWebsite()
.AddComposers()
You need to add following line:
.AddAzureCdnProvider()
Last modified: 20 January 2024