title: ASP.NET Core 6 Self Hosted Windows Service without IIS
body: <p>How do you self-host an ASP.NET Core 6 Minimal API application as a Windows Service?
  Everything works when the exe is executed, but having problems deploying to a production server as a Windows Service so that the app restarts automatically after a reboot.  I would like to avoid using IIS if possible.</p>