Reacting to Kestrel extensions
This commit is contained in:
parent
62a22caa00
commit
dfb1f9c712
|
|
@ -156,7 +156,7 @@ $@"<!doctype html>
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
|
@ -164,4 +164,4 @@ $@"<!doctype html>
|
|||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace LocalizationWebsite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup("LocalizationWebsite")
|
||||
.Build();
|
||||
|
|
@ -18,4 +18,4 @@ namespace LocalizationWebsite
|
|||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue