diff --git a/samples/DeveloperExceptionPageSample/project.json b/samples/DeveloperExceptionPageSample/project.json
index 44c8cea4f1..bb6948f961 100644
--- a/samples/DeveloperExceptionPageSample/project.json
+++ b/samples/DeveloperExceptionPageSample/project.json
@@ -7,10 +7,10 @@
"emitEntryPoint": true
},
"commands": {
- "web": "DeveloperExceptionPageSample"
+ "web": "DeveloperExceptionPageSample"
},
"frameworks": {
- "dnx451": {},
- "dnxcore50": {}
+ "dnx451": { },
+ "dnxcore50": { }
}
}
diff --git a/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoExtensions.cs b/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoExtensions.cs
index 8c49249547..ea28439530 100644
--- a/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoExtensions.cs
+++ b/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoExtensions.cs
@@ -43,12 +43,11 @@ namespace Microsoft.AspNet.Builder
throw new ArgumentNullException(nameof(configureOptions));
}
- var libraryManager = app.ApplicationServices.GetService(typeof(ILibraryManager)) as ILibraryManager;
var runtimeEnvironment = app.ApplicationServices.GetService(typeof(IRuntimeEnvironment)) as IRuntimeEnvironment;
var options = new RuntimeInfoPageOptions();
configureOptions(options);
- return app.Use(next => new RuntimeInfoMiddleware(next, options, libraryManager, runtimeEnvironment).Invoke);
+ return app.Use(next => new RuntimeInfoMiddleware(next, options, runtimeEnvironment).Invoke);
}
public static IApplicationBuilder UseRuntimeInfoPage(
@@ -64,10 +63,8 @@ namespace Microsoft.AspNet.Builder
throw new ArgumentNullException(nameof(options));
}
- var libraryManager = app.ApplicationServices.GetService(typeof(ILibraryManager)) as ILibraryManager;
var runtimeEnvironment = app.ApplicationServices.GetService(typeof(IRuntimeEnvironment)) as IRuntimeEnvironment;
-
- return app.Use(next => new RuntimeInfoMiddleware(next, options, libraryManager, runtimeEnvironment).Invoke);
+ return app.Use(next => new RuntimeInfoMiddleware(next, options, runtimeEnvironment).Invoke);
}
}
-}
\ No newline at end of file
+}
diff --git a/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoMiddleware.cs b/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoMiddleware.cs
index cb76df8b4d..dcb8ccdbd5 100644
--- a/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoMiddleware.cs
+++ b/src/Microsoft.AspNet.Diagnostics/RuntimeInfo/RuntimeInfoMiddleware.cs
@@ -3,7 +3,6 @@
using System;
using System.Threading.Tasks;
-using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Diagnostics.Views;
using Microsoft.AspNet.Http;
using Microsoft.Extensions.PlatformAbstractions;
@@ -17,7 +16,6 @@ namespace Microsoft.AspNet.Diagnostics
{
private readonly RequestDelegate _next;
private readonly RuntimeInfoPageOptions _options;
- private readonly ILibraryManager _libraryManager;
private readonly IRuntimeEnvironment _runtimeEnvironment;
/// ");
+ WriteLiteral("\r\n " +
+"\r\n\r\n\r\n
");
#line 30 "RuntimeInfoPage.cshtml"
Write(Resources.RuntimeInfoPage_Environment);
@@ -136,135 +136,7 @@ WriteAttributeValue("", 456, CultureInfo.CurrentUICulture.TwoLetterISOLanguageNa
#line default
#line hidden
- WriteLiteral("
| "); -#line 50 "RuntimeInfoPage.cshtml" - Write(Resources.RuntimeInfoPage_PackageVersionColumnName); - -#line default -#line hidden - WriteLiteral(" | \r\n"); -#line 51 "RuntimeInfoPage.cshtml" - Write(Resources.RuntimeInfoPage_PackagePathColumnName); - -#line default -#line hidden - WriteLiteral(" | \r\n|
|---|---|---|
| "); -#line 59 "RuntimeInfoPage.cshtml" - Write(package.Name); - -#line default -#line hidden - WriteLiteral(" | \r\n"); -#line 60 "RuntimeInfoPage.cshtml" - Write(package.Version); - -#line default -#line hidden - WriteLiteral(" | \r\n"); -#line 61 "RuntimeInfoPage.cshtml" - Write(package.Path); - -#line default -#line hidden - WriteLiteral(" | \r\n