Using Dependency Injection in .NET Core Service application
问题 We have a service based application in .net core which would run as a daemon in Linux environment. Everything is working as expected but i am having problem in handling dependency injection. Below is the code for reference Program.cs class Program { static async Task Main(string[] args) { Console.WriteLine("Starting PreProcessor Application "); try { ConfigParameters.LoadSettings(args); } catch (Exception ex) { Console.BackgroundColor = ConsoleColor.Red; Console.WriteLine($"Error in setting