public AzureCldrFileReader(
IConfiguration configuration,
ISecretProvider? secretProvider = null
)| Key | Description |
|---|---|
| storageConnectionString | The Azure storage connection string to use |
| timeZoneSettings:cldrBlobName | The Blob container holding the staged CLDR data files |
Blob names follow the same layout as LocalCldrFileReader: metaZones.json at the container root, and {locale}/timeZoneNames.json per staged locale (e.g. fr-CA/timeZoneNames.json); Azure Blob names may contain / to represent this virtual folder structure.
Here is a typical configuration section in appSettings.json:
{
"storageConnectionString": "Super secret Azure storage connection string",
"timeZoneSettings": {
"cldrBlobName": "CldrData"
}
}
Note that the storage connection string can be set up as a secret that the ISecretProvider instance can retrieve. For example, to store it in Microsoft Azure Key Vault, you can use the KeyVaultSecretProvider class.