From 09ad9e974a1056da569766cabf857ae79fe20773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Tue, 1 Dec 2015 23:39:04 +0100 Subject: [PATCH] Add Microsoft.Extensions.Logging.Debug to Mvc.Client and Mvc.Server --- samples/Mvc.Client/Startup.cs | 1 + samples/Mvc.Client/project.json | 1 + samples/Mvc.Server/Startup.cs | 1 + samples/Mvc.Server/project.json | 1 + 4 files changed, 4 insertions(+) diff --git a/samples/Mvc.Client/Startup.cs b/samples/Mvc.Client/Startup.cs index e9be9720..e756dee3 100644 --- a/samples/Mvc.Client/Startup.cs +++ b/samples/Mvc.Client/Startup.cs @@ -20,6 +20,7 @@ namespace Mvc.Client { public void Configure(IApplicationBuilder app) { var factory = app.ApplicationServices.GetRequiredService(); factory.AddConsole(); + factory.AddDebug(); app.UseIISPlatformHandler(options => { options.FlowWindowsAuthentication = false; diff --git a/samples/Mvc.Client/project.json b/samples/Mvc.Client/project.json index eecd16cb..63ab6574 100644 --- a/samples/Mvc.Client/project.json +++ b/samples/Mvc.Client/project.json @@ -11,6 +11,7 @@ "Microsoft.AspNet.StaticFiles": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", + "Microsoft.Extensions.Logging.Debug": "1.0.0-*", "Newtonsoft.Json": "7.0.1" }, diff --git a/samples/Mvc.Server/Startup.cs b/samples/Mvc.Server/Startup.cs index b2bf6040..5ebaae33 100644 --- a/samples/Mvc.Server/Startup.cs +++ b/samples/Mvc.Server/Startup.cs @@ -38,6 +38,7 @@ namespace Mvc.Server { public void Configure(IApplicationBuilder app) { var factory = app.ApplicationServices.GetRequiredService(); factory.AddConsole(); + factory.AddDebug(); app.UseIISPlatformHandler(options => { options.FlowWindowsAuthentication = false; diff --git a/samples/Mvc.Server/project.json b/samples/Mvc.Server/project.json index d0be9077..1992e0de 100644 --- a/samples/Mvc.Server/project.json +++ b/samples/Mvc.Server/project.json @@ -14,6 +14,7 @@ "Microsoft.AspNet.StaticFiles": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", + "Microsoft.Extensions.Logging.Debug": "1.0.0-*", "OpenIddict": "1.0.0-*" },