diff --git a/src/Microsoft.AspNet.Hosting/Internal/HostingEngine.cs b/src/Microsoft.AspNet.Hosting/Internal/HostingEngine.cs index b68e2f7c9b..6c0ad5eedd 100644 --- a/src/Microsoft.AspNet.Hosting/Internal/HostingEngine.cs +++ b/src/Microsoft.AspNet.Hosting/Internal/HostingEngine.cs @@ -91,7 +91,7 @@ namespace Microsoft.AspNet.Hosting.Internal var server = ServerFactory.Start(_serverFeatures, async features => { - var httpContext = contextFactory.CreateHttpContext(features); + var httpContext = contextFactory.Create(features); httpContext.ApplicationServices = _applicationServices; if (diagnosticSource.IsEnabled("Microsoft.AspNet.Hosting.BeginRequest"))