Asp.net – Setting Content Root Path for .NET 6 app hosted as a windows service
I have an API build with .NET 6 that I would like to host as a Windows Service. For that, I followed the official docs and added the below code to my Program.cs: var options = new WebApplicationOptions { Args…