Remove reference to UseDefaultHostConfiguration
This commit is contained in:
parent
5135ee9d2d
commit
0a538c563b
|
|
@ -40,7 +40,6 @@ namespace LargeResponseApp
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseKestrel()
|
||||
.UseUrls("http://localhost:5001/")
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ namespace SampleApp
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseKestrel(options =>
|
||||
{
|
||||
// options.ThreadCount = 4;
|
||||
|
|
|
|||
Loading…
Reference in New Issue