It would be best if the project is streamlined:
- support the use of Azure Cache for Redis for Shared Cache (Session info) for Scaled-out workload.
- support Custom OpenID Connect IDp, not limited Google/Facebook. it would in turn allow the use of ‘Azure AD B2C’ for login
- Use of Azure Vault and connected services to store secret and connection-string.
Suggest adding an option to use Azure Key Vault to store secrets (connection string, jwt secretKey) , and access all secrets from the KeyVault?program.cs
var builder = WebApplication.CreateBuilder(args);
// line to add
if (builder.Configuration["KeyVaultName"]!=null)
{
builder.Configuration.AddAzureKeyVault(
new Uri($"https://{builder.Configuration["KeyVaultName"]}.vault.azure.net/"),
new DefaultAzureCredential());
};
// Configuration
Configuration = builder.Configuration;
Try the new App_Build server event in v2023.