Azure App Services authentication to a foreign Azure Active Directory

Overview You have some code you have created in your subscription and a customer wants to authenticate and use your application.  You are not connected to any other Azure Active Directory authentication.  This is bit of a contrived example but will give you some insight in to how Azure App Services authentication works. Setup Create…

0

Checklist for creating your first .NET Azure WebJob

Overview I thought it would be beneficial to add a checklist of things you may have to do when creating a .NET Azure WebJob.  Some of this applies to any Azure WebJob, but I will focus on a .NET Visual Basic WebJob (since I have not done that type before).  I chose not to include…

0

Azure .NET Core Application Settings

Overview This article outlines how to work with Application Settings in ASP.NET Core with Azure Web Apps (Azure App Services) super simple Jeff version… How To Ref: Working with Azure App Services Application Settings and Connection Strings in ASP.NET Core The above article is wonderful but adds some complexity.  It also does not tell you…

0

How To: Azure WebJob calling a Web Page using Powershell

Overview Just a quicky post to get you started on how to use CRON expressions and Powershell to call a web page from a WebJob.  There are many different ways to use Azure WebJobs and this is using a Powershell script to call an endpoint and scheduling this using CRON. Steps Create a Powershell script…

0

How to run classic ASP on Azure Web Apps

Overview We mention you can use ASP on Azure Web Apps but documentation is a bit scarce.  This walkthrough will show how to deploy a simple vbscript ASP page to a Azure Web App. Steps Create a Classic ASP page I will use the App Service Editor built into the Azure Portal.  Simply go to…

0

Azure Function App Error: We are not able to retrieve the runtime master key

Overview When you access an Azure Function app from the portal it will attempt to retrieve the Function runtime keys.  This is documented at https://github.com/Azure/azure-webjobs-sdk-script/wiki/Http-Functions#api-keys .  There are a number of reasons why the keys cannot be retrieved and this article documents a recent change that means you may see this issue. Possible errors “We…

0

IIS Azure Web App – Force HTTPS AlwaysOn ping should return 200 for FastCGI sites

Overview PHP, Java and other FastCGI hosted environments should respond to an Always On ping to keep the child process warmed up.  Specifically in Azure App Services we send a request to the Root of the site with the header User-Agent: AlwaysOn.  If you are forcing HTTPS using a Url Rewrite rule, the Always On…

0

Page Loads slow and you notice certain files (js, html) seem to be extra slow downloading

Symptom You notice particular files (.js, .html and more) are downloading very slowly Cause Certain files are sent back to the client as chunked encoded.  CDNs and Web Servers both show this behavior.  Chunked downloads are very expensive in terms of speed because each chunk is in essence treated like a separate download.  Chunked encoding…

3

Azure API Apps–Troubleshooting PowerApps Export error: Unable to download Swagger 2.0 metadata. Please verify that the URL is publicly accessible. You may need to enable CORS for the App Service portal extension located at

Overview There is functionality in the Azure Portal that allows you to use the API definition of your Azure App Service and Export this through the “Export to PowerApps + Microsoft Flow” button in the API definition blade of your app ref: https://docs.microsoft.com/azure/app-service/app-service-export-api-to-powerapps-and-flow .  If you get the error: “Unable to download Swagger 2.0 metadata….

0