diff --git a/devdocs/todo.txt b/devdocs/todo.txt index abfc4b93..2b7f3ffd 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -6,10 +6,6 @@ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTcxMjQxMzI1IiwiZXhwIjoiMTU3MTg ## IMMEDIATE ITEMS UPDATE all the things before commencing work - - https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio-code - - https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes - - https://github.com/domaindrivendev/Swashbuckle.AspNetCore#swashbuckleaspnetcoreannotations - - - See about Metrics which is currently commented out in startup, maybe not an issue right now?! - Read this and see if more areas where I need to update my code to the modern standard: https://kimsereyblog.blogspot.com/2018/08/apicontroller-attribute-in-asp-net-core.html diff --git a/server/AyaNova/Startup.cs b/server/AyaNova/Startup.cs index 23197f70..ff8c0e34 100644 --- a/server/AyaNova/Startup.cs +++ b/server/AyaNova/Startup.cs @@ -99,8 +99,8 @@ namespace AyaNova //2019-10-17 METRICS will not work just yet with .netcore 3.1 see here https://github.com/AppMetrics/AppMetrics/issues/480 //awaiting a new release from them - //_newLog.LogDebug("BOOT: init Metrics service"); - //MvcBuilder.AddMetrics(); + _newLog.LogDebug("BOOT: init Metrics service"); + services.AddMetrics();