From 521eb8b32aac37a53cbc57d35f06fd3045b5ee74 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Fri, 16 Sep 2022 08:56:32 -0400 Subject: [PATCH] Added snippets --- tutorials/scalable-razor-apps/end/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tutorials/scalable-razor-apps/end/Program.cs b/tutorials/scalable-razor-apps/end/Program.cs index 2465596..880ab2a 100644 --- a/tutorials/scalable-razor-apps/end/Program.cs +++ b/tutorials/scalable-razor-apps/end/Program.cs @@ -1,6 +1,8 @@ +// using Azure.Identity; using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.Azure; +// var builder = WebApplication.CreateBuilder(args); var BlobStorageUri = builder.Configuration["AzureURIs:BlobStorage"]; @@ -10,6 +12,7 @@ builder.Services.AddRazorPages(); builder.Services.AddHttpClient(); builder.Services.AddServerSideBlazor(); +// builder.Services.AddAzureClientsCore(); builder.Services.AddDataProtection() @@ -17,7 +20,7 @@ builder.Services.AddDataProtection() new DefaultAzureCredential()) .ProtectKeysWithAzureKeyVault(new Uri(KeyVaultURI), new DefaultAzureCredential()); - +// var app = builder.Build(); if (!app.Environment.IsDevelopment())