Remove references to diagnostics.
This commit is contained in:
parent
b64618bc2d
commit
33de44b596
|
|
@ -2,7 +2,6 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using Microsoft.AspNet.Builder;
|
using Microsoft.AspNet.Builder;
|
||||||
using Microsoft.AspNet.Diagnostics;
|
|
||||||
using Microsoft.AspNet.Http;
|
using Microsoft.AspNet.Http;
|
||||||
using Microsoft.Framework.ConfigurationModel;
|
using Microsoft.Framework.ConfigurationModel;
|
||||||
using Microsoft.Framework.DependencyInjection;
|
using Microsoft.Framework.DependencyInjection;
|
||||||
|
|
@ -46,18 +45,6 @@ namespace ServerComparison.TestSites
|
||||||
{
|
{
|
||||||
loggerFactory.AddConsole(minLevel: LogLevel.Warning);
|
loggerFactory.AddConsole(minLevel: LogLevel.Warning);
|
||||||
|
|
||||||
// Error page middleware displays a nice formatted HTML page for any unhandled exceptions in the request pipeline.
|
|
||||||
// Note: ErrorPageOptions.ShowAll to be used only at development time. Not recommended for production.
|
|
||||||
app.UseErrorPage(ErrorPageOptions.ShowAll);
|
|
||||||
|
|
||||||
// Add the runtime information page that can be used by developers
|
|
||||||
// to see what packages are used by the application
|
|
||||||
// default path is: /runtimeinfo
|
|
||||||
app.UseRuntimeInfoPage();
|
|
||||||
|
|
||||||
// Add static files to the request pipeline
|
|
||||||
// app.UseStaticFiles();
|
|
||||||
|
|
||||||
app.Run(ctx =>
|
app.Run(ctx =>
|
||||||
{
|
{
|
||||||
return ctx.Response.WriteAsync("Hello World");
|
return ctx.Response.WriteAsync("Hello World");
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Builder;
|
using Microsoft.AspNet.Builder;
|
||||||
using Microsoft.AspNet.Diagnostics;
|
|
||||||
using Microsoft.AspNet.Http;
|
using Microsoft.AspNet.Http;
|
||||||
using Microsoft.AspNet.Server.WebListener;
|
using Microsoft.AspNet.Server.WebListener;
|
||||||
using Microsoft.Framework.ConfigurationModel;
|
using Microsoft.Framework.ConfigurationModel;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue