Identityazuretable
This project provides a high performance cloud solution for ASP.NET Identity Core using Azure Table storage replacing the Entity Framework / MSSQL provider.
Read access geo-redundant storage
Read access geo-redundant storage allows your storage data to be automatically replicated to another region. In addition, this data in the replicated region is accessible for read-only queries. For more information on the different kinds of storage redundancy. Your storage account must be set to RA-GRS to support reads on the replicated secondary region.
Next, enable the preferred secondary read options in the web.config or the IdentityConfiguration class passed into the IdentityCloudContext constructor. The LocationMode property can be left null or empty in which case the default mode in 'PrimaryOnly'. The other valid LocationModes can be found here.
Example of setting up the appsettings for a SecondaryThenPrimary access. This is available in versions ElCamino.AspNetCore.Identity.AzureTable
"IdentityAzureTable": {
"IdentityConfiguration": {
"TablePrefix": "mvc6"
"StorageConnectionString": "UseDevelopmentStorage=true;"
"LocationMode": "SecondaryThenPrimary"
}
}
}
Example of setting up the web.config for a SecondaryThenPrimary access. This is available in versions ElCamino.AspNet.Identity.AzureTable 1.5.2.0 and higher. (deprecated)
<configuration>
<configSections>
<section name="elcaminoIdentityConfiguration" type="ElCamino.AspNet.Identity.AzureTable.Configuration.IdentityConfigurationSection,ElCamino.AspNet.Identity.AzureTable " />
</configSections>
<elcaminoIdentityConfiguration locationMode="SecondaryThenPrimary" storageConnectionString="UseDevelopmentStorage=true" />
A blog for modern software development
Software as a Service
Optic Nerve AI
No code, first class import/publish with Azure, Google cloud custom vision AI services.