https://github.com/mjkillough/iis-asgi-handlerIf you just want to run a program at system startup, you can use the Windows task scheduler or a tool like NSSM that runs command line programs as a service.https://nssm.cc/The steps to host FastAPI web apps on IIS are straight forward ...
An overview of how to create and deploy a containerized Python web app (Flask or FastAPI) on Azure App Service.