Skip to content

How can I use FastAPI in IIS? #4207

Answered by nmol2
visualnetpr asked this question in Questions
Nov 24, 2021 · 5 comments · 31 replies
Discussion options

You must be logged in to vote

I found these two articles that Helped me

(https://docs.microsoft.com/en-us/visualstudio/python/configure-web-apps-for-iis-windows?view=vs-2019)
The first one recommending httpPlatformHandler in ISS for running Python Web Apps.

https://stackoverflow.com/questions/61919424/how-to-run-windows-iis-on-top-of-an-asgi-server-like-hypercorn-or-uvicorn
this second one shows how to use httpPlatformHandler for FastAPI specifically.

(there may be a chance that 'httpPlatformHandler' may not be present in your system, then download and install it via 'Microsoft Web Platform Installer' available under Management Section on your IIS screen of respective Website.

i have used hypercorn (alternative of uni…

Replies: 5 comments 31 replies

Comment options

You must be logged in to vote
1 reply
@visualnetpr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@jusce17
Comment options

@KamalBalah
Comment options

@KamalBalah
Comment options

@jusce17
Comment options

@IgorSantRocha
Comment options

Comment options

You must be logged in to vote
19 replies
@IgorSantRocha
Comment options

@IgorSantRocha
Comment options

@lextm
Comment options

@jstoppa
Comment options

@jstoppa
Comment options

Answer selected by tiangolo
Comment options

You must be logged in to vote
1 reply
@noahabe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet