Skip to content

smcl/python-iis-handlers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. ensure that python 3.8, IIS, asp.net core hosting bundle and httpplatformhandler 1.2 are installed
  2. create a python 3.8 venv someplace
  3. install requirements.txt into that venv
  4. update the path to python.exe according to location of venv in
    • httpplatform/web.config
    • ancm/web.config
    • ancmv2/web.config
  5. create new sites under IIS pointing @ the httpplatform, ancm and ancmv2 folders

About

Running python webapp using flask & iis on windows using different handlers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages