From f24fba82fcec9cbfe6807aaed927736e6ea43c78 Mon Sep 17 00:00:00 2001 From: Bipin Paul Date: Thu, 15 Nov 2018 11:25:03 +0545 Subject: [PATCH] Replace ServiceConfigurationContext with IServiceCollection --- docs/en/Getting-Started-AspNetCore-Application.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/Getting-Started-AspNetCore-Application.md b/docs/en/Getting-Started-AspNetCore-Application.md index b3dffa5f36..f242f8cd46 100644 --- a/docs/en/Getting-Started-AspNetCore-Application.md +++ b/docs/en/Getting-Started-AspNetCore-Application.md @@ -75,11 +75,11 @@ namespace BasicAspNetCoreApplication { public class Startup { - public IServiceProvider ConfigureServices(ServiceConfigurationContext context) + public IServiceProvider ConfigureServices(IServiceCollection services) { - context.Services.AddApplication(); + services.AddApplication(); - return context.Services.BuildServiceProviderFromFactory(); + return services.BuildServiceProviderFromFactory(); } public void Configure(IApplicationBuilder app)