Remove reference to UseDefaultHostConfiguration
This commit is contained in:
parent
7fd1e62322
commit
d7e509ebec
|
|
@ -33,7 +33,6 @@ namespace HttpOverridesSample
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
|
||||||
.UseKestrel()
|
.UseKestrel()
|
||||||
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ namespace ResponseBufferingSample
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
|
||||||
.UseKestrel()
|
.UseKestrel()
|
||||||
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue