parent
e4e40033b1
commit
d8a20521f1
|
|
@ -206,6 +206,7 @@ namespace Microsoft.AspNet.Hosting
|
|||
services.AddTransient<IApplicationBuilderFactory, ApplicationBuilderFactory>();
|
||||
services.AddTransient<IHttpContextFactory, HttpContextFactory>();
|
||||
services.AddLogging();
|
||||
services.AddOptions();
|
||||
|
||||
var diagnosticSource = new DiagnosticListener("Microsoft.AspNet");
|
||||
services.AddSingleton<DiagnosticSource>(diagnosticSource);
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
"Microsoft.AspNet.Hosting.Server.Abstractions": "1.0.0-*",
|
||||
"Microsoft.AspNet.Http": "1.0.0-*",
|
||||
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
|
||||
"Microsoft.Extensions.Options": "1.0.0-*",
|
||||
"Microsoft.Extensions.Configuration": "1.0.0-*",
|
||||
"Microsoft.Extensions.Configuration.CommandLine": "1.0.0-*",
|
||||
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*",
|
||||
|
|
|
|||
Loading…
Reference in New Issue