Added UseIIS

pull/1271/head
Halil İbrahim Kalkan 6 years ago
parent 62ba3b2b5f
commit 64352b6df3

@ -4,6 +4,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>

@ -43,6 +43,7 @@ namespace Acme.BookStore.Web
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseIIS()
.UseStartup<Startup>()
.UseSerilog()
.Build();

Loading…
Cancel
Save