Quick demonstration that even though HttpPlatform module is technically still recommended for running python webapps under IIS, it is entirely possible to use the official replacement ASP.NET Core Module (and ASP.NET Core Module V2). To do this, you'll need to:
- ensure that python 3.8, IIS, asp.net core hosting bundle and httpplatformhandler 1.2 are installed
- create a python 3.8 venv someplace
- install requirements.txt into that venv
- update the path to python.exe according to location of venv in
httpplatform/web.config
ancm/web.config
ancmv2/web.config
- create new sites under IIS pointing @ the
httpplatform
,ancm
andancmv2
folders