Remove 'UseDefaultHostingConfiguration' references, as the API no longer exists and is not strictly needed
This commit is contained in:
parent
d85a5d6cd5
commit
999641c4c2
|
|
@ -86,7 +86,6 @@ namespace MusicStore
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ namespace ES2015Example
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ namespace Webpack
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ namespace MusicStore
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ namespace ReactGrid
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ namespace WebApplicationBasic
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ namespace WebApplicationBasic
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ namespace WebApplicationBasic
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ namespace WebApplicationBasic
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ namespace WebApplicationBasic
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseKestrel()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
Loading…
Reference in New Issue