Page 1 of 1

Streamline for Azure App Services

Posted: Wed May 18, 2022 9:30 am
by timyeung

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.


Re: Streamline for Azure App Services

Posted: Fri Jul 22, 2022 7:18 pm
by darkdragon

+1


Re: Streamline for Azure App Services

Posted: Wed Oct 19, 2022 6:58 pm
by timyeung

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;

Re: Streamline for Azure App Services

Posted: Mon Jan 30, 2023 10:51 pm
by Webmaster

Try the new App_Build server event in v2023.