Articles
Solved: Visual studio code format JSON
Table of contentsThe ProblemCommon Steps to Reproduce and SetupThe Solution The Problem If you have unformatted or minified JSON data it is common to want to produce a more readable format of the JSON data. The minified/unformatted data usually comes in the form of an HTTP response. Unformatted JSON objects... Read More
Solved: Unable to resolve service for type microsoft.extensions.logging.ilogger
Table of contentsThe ProblemCommon Steps to ReproduceThe Solution The Problem A runtime error is triggered when using the Microsoft ILogger class in your .Net applications. System.InvalidOperationException: 'Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger' Common Steps to Reproduce Configuration 1 Console application Main configuration var services = new ServiceCollection() .AddLogging(logging =>... Read More