From 4d4814f59db6a72e523b0b5cd85c2da4e61e3fad Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 27 Jun 2017 03:48:54 +0200 Subject: [PATCH] starts with checks --- Yavsc/Startup/Startup.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Yavsc/Startup/Startup.cs b/Yavsc/Startup/Startup.cs index d44bc3af..a31772de 100755 --- a/Yavsc/Startup/Startup.cs +++ b/Yavsc/Startup/Startup.cs @@ -34,6 +34,7 @@ namespace Yavsc using ViewModels.Auth.Handlers; using Yavsc.Models.Calendar; using Yavsc.Models.Google.Calendar; + using static System.Environment; public partial class Startup { @@ -238,7 +239,7 @@ namespace Yavsc { options.ResourcesPath = "Resources"; }); - + CheckServices(services); } @@ -359,7 +360,9 @@ namespace Yavsc name: "default", template: "{controller=Home}/{action=Index}/{id?}"); }); - + logger.LogInformation("LocalApplicationData: "+Environment.GetFolderPath(SpecialFolder.LocalApplicationData, SpecialFolderOption.DoNotVerify)); + + CheckApp(app, SiteSetup, env, loggerFactory); } // Entry point for the application.