Remove references to diagnostics.

This commit is contained in:
Chris Ross 2015-04-24 10:21:38 -07:00
Родитель b64618bc2d
Коммит 33de44b596
2 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -2,7 +2,6 @@
// 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.Diagnostics;
using Microsoft.AspNet.Http;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
@ -46,18 +45,6 @@ namespace ServerComparison.TestSites
{
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 =>
{
return ctx.Response.WriteAsync("Hello World");

Просмотреть файл

@ -3,7 +3,6 @@
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Diagnostics;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Server.WebListener;
using Microsoft.Framework.ConfigurationModel;