update readme

This commit is contained in:
zedy committed 2023-02-02 18:46:00 +08:00
1 parent 3bb6bf89b8
commit 2a67d21396
2 files changed
+58 -2

No files matched your search

+4 -1
View File
@@ -23,7 +23,10 @@ var builder = WebApplication.CreateBuilder(args);
builder.Logging.AddConsole();
// Configure SQL Server
// Configure SQL Server (Locally)
// Microsoft.eShopWeb.Infrastructure.Dependencies.ConfigureServices(builder.Configuration, builder.Services);
// Configure SQL Server (Azd template)
var credential = new ChainedTokenCredential(new AzureDeveloperCliCredential(), new DefaultAzureCredential());
builder.Configuration.AddAzureKeyVault(new Uri(builder.Configuration["AZURE_KEY_VAULT_ENDPOINT"]), credential);
builder.Services.AddDbContext<CatalogContext>(c =>