From a858f15e0aae03b8e87f811ca754b2b597fa20ad Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Tue, 9 Jul 2019 06:21:44 -0500 Subject: [PATCH] Fix code example in Middleware topic (#13205) --- aspnetcore/fundamentals/middleware/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/fundamentals/middleware/index.md b/aspnetcore/fundamentals/middleware/index.md index c51295ba65..e4345bc79b 100644 --- a/aspnetcore/fundamentals/middleware/index.md +++ b/aspnetcore/fundamentals/middleware/index.md @@ -5,7 +5,7 @@ description: Learn about ASP.NET Core middleware and the request pipeline. monikerRange: '>= aspnetcore-2.1' ms.author: riande ms.custom: mvc -ms.date: 07/03/2019 +ms.date: 07/09/2019 uid: fundamentals/middleware/index --- # ASP.NET Core Middleware @@ -72,7 +72,7 @@ The following `Startup.Configure` method adds middleware components for common a 1. MVC () to add MVC to the request pipeline. ```csharp -public void Configure(IApplicationBuilder app) +public void Configure(IApplicationBuilder app, IHostingEnvironment env) { if (env.IsDevelopment()) {