Microsoft Azure Open Source Development Support Team Blog

Support for Open Source Technologies on Microsoft Azure App Service

Building Python Functions App that use Native Modules – Custom Docker

Prerequisites To build and test locally, you will need to: Install Python 3.6 Install Docker Install Azure Functions Core Tools version 2.0.3 or later To install Azure Functions Core tools you will need also these requirements: Install .NET Core 2.1 for Windows. Install Node.js, which includes npm. For version 2.x of the tools, only Node.js 8.5 and… Read more

Profile Python Applications in Azure App Services

Slow application performance issues tend to be challenging to troubleshoot regardless of the platform in which your application is running. This is due in great part to the sometimes random nature of these issues. These types of issues also often do not result in a specific error being logged. If you think your Python application… Read more

Running Flask App with HttpPlatformHandler in Azure App Services(Windows)

Flask is a micro web framework written in Python and based on the Werkzeug toolkit and Jinja2 template engine. Below are list of steps we would follow Create Sample Project Create Azure WebApp and Use Site Extension to Upgrade Python Create and Change Deployment script Adding web.config (for production app with waitress) Publish App You… Read more

Django app with HttpPlatformHandler in Azure App Services (Windows)

In my previous blog Deploying Django App to Azure App Services using Git, I have provided detailed steps on how to run Django app in Azure App services using wfastcgi wfastcgi.py provides a bridge between IIS and Python using WSGI and FastCGI, similar to what mod_python provides for Apache HTTP Server. Even though using wfastcgi… Read more

Running Python Webjob on Azure App Services using non-default python version

You can run programs or scripts in WebJobs in your Azure App Service web app in three ways: on demand, continuously, or on a schedule. There is no additional cost to use WebJobs. This article shows how to run Python Webjob on Azure App Services using non-default python version. we would follow below list of… Read more

Deploying Django App to Azure App Services using Git and new version of Python

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. Below are list of steps which… Read more

Debug Django Web Application in Azure Web Apps

After creating a Azure Web/API app using Django Framework in Python, you may end-up getting Application errors at some point of your Application Development Process. This Blog describes how to enable Application logs for a Azure Web/API APP which uses Django Framework.   Before starting debug process make sure that you have below two important files… Read more

Troubleshoot- logging python Application errors on Azure Web/API Apps

After creating a Azure Web/API app using python, you may end-up getting below 500 error at some point of your application development process. This Blog describes how to enable Application logs for a python Web/API APP on Azure. The page cannot be displayed because an internal server error has occurred.   If you have worked… Read more

Install Python Modules on Azure App Services

Installing Python packages in Azure App Services is little tricky using pip. In this blog, I would provide best practice to do that. Pip Install on Azure App Services might fail because It may simply be that the package is not available on the Python Package Index. It could be that a compiler is missing… Read more