From 96c97ad1fc36227101cfe6a5406de1445a233c04 Mon Sep 17 00:00:00 2001 From: Thomas Ryan Date: Fri, 17 Apr 2020 19:54:03 -0700 Subject: [PATCH] Update dotnet-svcutil-guide.md Changed IHostingEnvironment to IWebHostEnvironment. --- docs/core/additional-tools/dotnet-svcutil-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/additional-tools/dotnet-svcutil-guide.md b/docs/core/additional-tools/dotnet-svcutil-guide.md index 232080055aeea..db2e61c4d9b65 100644 --- a/docs/core/additional-tools/dotnet-svcutil-guide.md +++ b/docs/core/additional-tools/dotnet-svcutil-guide.md @@ -123,7 +123,7 @@ The generated file is saved as _HelloSvcutil/ServiceReference/Reference.cs_. The 4. Edit the `Configure` method to invoke the web service. You do this by creating an instance of the class that inherits from `ClientBase` and calling the method on the client object: ```csharp - public void Configure(IApplicationBuilder app, IHostingEnvironment env) + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) {