Asp.net – How to use DI in a class referenced in Program.cs that must be static
First off, sorry for the really bad question title. I couldn't think of a better way to word it. I'm open to suggestions for an edit! In my ASP.NET app written to target .NET 7, I have this in my…