Reacting to Hosting changes
This commit is contained in:
parent
c67011dc6d
commit
555a8d0a3b
|
|
@ -30,7 +30,7 @@ namespace ActionConstraintSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace CustomRouteSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace EmbeddedViewSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace FormatFilterSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ namespace InlineConstraintSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace JsonPatchSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace LocalizationSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ namespace MvcSandbox
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ namespace MvcSubAreaSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace TagHelperSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace UrlHelperSample.Web
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace ApiExplorerWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace ApplicationModelWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace BasicWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace ControllersFromServicesWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ namespace CorsWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace ErrorPageMiddlewareWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ namespace FilesWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ namespace FiltersWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace FormatterWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace HtmlGenerationWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace RazorPageExecutionInstrumentationWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ namespace RazorWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace RoutingWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ namespace SimpleWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace TagHelpersWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace VersioningWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace WebApiCompatShimWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ namespace XmlFormattersWebSite
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.Build();
|
||||
|
|
|
|||
Loading…
Reference in New Issue