Streamline for Azure App Services

It would be best if the project is streamlined:

  1. support the use of Azure Cache for Redis for Shared Cache (Session info) for Scaled-out workload.
  2. support Custom OpenID Connect IDp, not limited Google/Facebook. it would in turn allow the use of ‘Azure AD B2C’ for login
  3. Use of Azure Vault and connected services to store secret and connection-string.

+1

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.