Add 'UseServer'
This commit is contained in:
parent
8d804cfbbc
commit
82e1bcf261
|
|
@ -31,6 +31,7 @@ namespace DatabaseErrorPageSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -23,6 +23,7 @@ namespace DeveloperExceptionPageSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -33,6 +33,7 @@ namespace ElmPageSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -60,6 +60,7 @@ namespace ExceptionHandlerSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -87,6 +87,7 @@ namespace MiddlewareAnaysisSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -23,6 +23,7 @@ namespace RuntimeInfoPageSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -106,6 +106,7 @@ namespace StatusCodePagesSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel",
|
|
||||||
"server.urls": "http://localhost:5001/base"
|
|
||||||
}
|
|
||||||
|
|
@ -14,6 +14,7 @@ namespace WelcomePageSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
.UseIISPlatformHandlerUrl()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue