Azure Web Apps for Containers–Simple Walkthrough of Node.JS app deployment

Overview This is a super simple walkthrough to show how to use Git and push your app to Azure Web Apps for Containers.  It will not persist your Git repo but is a super quick way to show how this is done and perhaps help you if you are having troubles getting your app configured!…

0

ASP.Net–Do not use Task .Result in main context

Overview You can guarantee you will deadlock if you have a call similar to this in your code, where CallHttp is a an AsyncTask that awaits a result: public class DeadlockController : ApiController { public string Get() { string ret = “”; // deadlock ret = Utilities.CallHttp().Result; return ret; } Cause and Symptoms The reason…

1

Azure App Service Authentication – Using a Blob Storage for Token Cache

Chris had this note in his blog App Service Token Store “As an alternative, you can provision an Azure Blob Storage container and configure your web app with a SaS URL (with read/write/list access) pointing to that blob container. This SaS URL can then be saved to the WEBSITE_AUTH_TOKEN_CONTAINER_SASURL app setting. When this app setting…

0

Walkthrough–Add Azure Web App to Visual Studio Team Services

Overview In this walkthrough I will show  you how to use Visual Studio Team Services with an existing Azure App Service project (specifically an Azure Web App).  We will add a task to update/create the project database from a DACPAC file and enable CI (Continuous Integration). Sign up for Visual Studio Team Services  Go to:…

0

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…

5

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