Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Add DI extension method namespace to Program.cs in templates #494

Merged
merged 2 commits into from
Apr 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Browser.Services;
using Microsoft.Extensions.DependencyInjection;
using System;

namespace BlazorHosted.CSharp.Client
Expand All @@ -8,7 +9,7 @@ public class Program
{
static void Main(string[] args)
{
var serviceProvider = new BrowserServiceProvider(configure =>
var serviceProvider = new BrowserServiceProvider(services =>
{
// Add any custom services here
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Browser.Services;
using Microsoft.Extensions.DependencyInjection;
using System;

namespace BlazorStandalone.CSharp
Expand All @@ -8,7 +9,7 @@ class Program
{
static void Main(string[] args)
{
var serviceProvider = new BrowserServiceProvider(configure =>
var serviceProvider = new BrowserServiceProvider(services =>
{
// Add any custom services here
});
Expand Down