From 9db249e30aed2f24cf7c4315e334feb9fe4c30aa Mon Sep 17 00:00:00 2001 From: Javier Calvarro Nelson Date: Wed, 20 Mar 2019 16:59:17 +0100 Subject: [PATCH] [Components][Fixes #8058] Update blazor template to use IWebHostEnvironment (#8234) --- .../BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs index e83a257039..ea33b37150 100644 --- a/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs +++ b/src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs @@ -18,7 +18,7 @@ namespace BlazorHosted_CSharp.Server } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseResponseCompression();