Flask Web Service on Windows Platform

Rahul Chouhan 1 Reputation point
2020-04-28T11:10:58.647+00:00

I have a requirement of creating web app/service over azure, i have selected python 3.6 as a runtime environment, and platform i selected windows.

No issue while creating the app.
But i am unable to find single working approach to deploy the code even hello word.

Please help i tried All deployement option:- Git, File, etc.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ryan Hill 28,636 Reputation points Microsoft Employee
    2020-04-28T14:47:19.86+00:00

    Hi @Rahul Chouhan to quickly get up and going, you can use Visual Studio code to create your app service; which you've already done, and deploy your code. Even though the tutorial mentions creating a Linux the app, the same applies for a windows app. There are many options to deploy continuously to your app service. This tutorial walks you through deploying from your local git repo while this one shows how you can deploy continuously from github, azure devops, bitbucket, and others.

    If you run into any issues, just let the community know :)


  2. Lex Li (Microsoft) 5,662 Reputation points Microsoft Employee
    2020-05-25T01:04:34.567+00:00

    Microsoft is reluctant to announce any discontinuity of its service, but you should be aware that running Python apps on the Windows version of Azure App Service is dead (for a few months already).

    "Microsoft has deprecated the Python extensions for App Service on Windows as described in this article in favor of a direct deployment to App Service on Linux."

    https://learn.microsoft.com/en-us/visualstudio/python/managing-python-on-azure-app-service?view=vs-2019

    Follow the guides to run your Python app on Linux version of Azure App Service please (Docker based), as that's where the majority of the Python community goes.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.