diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs index c41f382563..45df353c3a 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs @@ -9,7 +9,7 @@ namespace BlazorHosted.CSharp.Client { static void Main(string[] args) { - var serviceProvider = new BrowserServiceProvider(configure => + var serviceProvider = new BrowserServiceProvider(services => { // Add any custom services here }); diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone.CSharp/Program.cs b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone.CSharp/Program.cs index fd4a02f865..c7b941c5ba 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone.CSharp/Program.cs +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone.CSharp/Program.cs @@ -9,7 +9,7 @@ namespace BlazorStandalone.CSharp { static void Main(string[] args) { - var serviceProvider = new BrowserServiceProvider(configure => + var serviceProvider = new BrowserServiceProvider(services => { // Add any custom services here });