diff --git a/src/WebJobs.Extensions.DurableTask/LocalHttpListener.cs b/src/WebJobs.Extensions.DurableTask/LocalHttpListener.cs index 0d5f8782c..d7bb81288 100644 --- a/src/WebJobs.Extensions.DurableTask/LocalHttpListener.cs +++ b/src/WebJobs.Extensions.DurableTask/LocalHttpListener.cs @@ -77,9 +77,7 @@ public async Task StartAsync() { this.InternalRpcUri = new Uri($"http://127.0.0.1:{listeningPort}/durabletask/"); var listenUri = new Uri(this.InternalRpcUri.GetLeftPart(UriPartial.Authority)); - this.localWebHost = new WebHostBuilder() - .UseKestrel() - .ConfigureKestrel(o => + this.localWebHost = new WebHostBuilder().UseKestrel(o => { // remove request's Content size limits o.Limits.MaxRequestBodySize = null; diff --git a/src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj b/src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj index 2c6e6cfc1..ac5497002 100644 --- a/src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj +++ b/src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj @@ -69,9 +69,14 @@ - - - + + + + + + +