From ed94764420cb88aa2f3251d052c33fd0b6e0463a Mon Sep 17 00:00:00 2001 From: yuchen1030 <283434325@qq.com> Date: Thu, 26 Oct 2017 20:11:14 +0800 Subject: [PATCH] Update Program.cs Solving the problems that project cannot be run on IIS. --- test/Ocelot.ManualTest/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Ocelot.ManualTest/Program.cs b/test/Ocelot.ManualTest/Program.cs index a545819a..78c336d6 100644 --- a/test/Ocelot.ManualTest/Program.cs +++ b/test/Ocelot.ManualTest/Program.cs @@ -16,8 +16,8 @@ namespace Ocelot.ManualTest builder.UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) - .UseStartup(); - + .UseIISIntegration() + .UseStartup(); var host = builder.Build(); host.Run();