Troubleshooting an Azure App Service WebJob

This article has been moved to its new home here:  https://benperk.github.io/msdn/2017/2017-03-troubleshooting-an-azure-app-service-webjob.html Whenever you write a WebJob, for example in C#, you should always place your code within try{} catch{} code blocks.  If you do not manage your exceptions and your code throws an exception, it will likely terminate to process. I wanted to find out what…


Enable logging for your Hybrid Connection Manager, troubleshooting

This article has been moved to its new home here:  https://benperk.github.io/msdn/2017/2017-02-enable-logging-for-your-hybrid-connection-manager-troubleshooting.html This article pertains to the Azure Biztalk based Hybrid Connection feature discussed here. To read about the new version of the Hybrid Connection feature based on Azure Relay, read this article. #HybridConnection #Azure #Microsoft – There are 2 kinds of logging you can use to…


Create a memory dump for your slow performing Web App

This articles has been moved to its new home here:  https://benperk.github.io/msdn/2017/2017-02-create-a-memory-dump-for-your-slow-performing-web-app.html There are numerous ways to create a memory dump for a slow performing Web App, but I find this one the simplest and quickest.  Follow these steps to capture a memory dump of the W3WP process responding to requests which are slower than expected.  Here…


Enable Failed Request Tracing for an Azure App Service Web App

This article has been moved to its new home here: https://benperk.github.io/msdn/2017/2017-01-enable-failed-reuqest-tracing-for-an-azure-app-service-web-app.html When you are experiencing slow performance on your Azure App Service #Microsoft a start is to look at the IIS logs, specifically at the time-taken column.  This will confirm that indeed there are some slow requests and identify better how slow they are.  If you…


Enable System.Net tracing on Azure App Service

This article has been moved to its new home here:  https://benperk.github.io/msdn/2017/2017-01-enable-system-net-tracing-on-azure-app-service-unable-to-connect-to-remote-server.html It is becoming a common scenario that customers of Azure App Services Web Apps are making requests to services hosted on other Azure IaaS or PaaS platforms, services not hosted on the Azure platform (on premises) and which use the System.Net class.  For example, making…


Create and deploy an ASP.NET Core Web API to Azure Windows

This article has been moved to its new home here:  https://benperk.github.io/msdn/2017/2017-01-create-and-deploy-an-asp-net-core-web-api-to-azure-windows.html There are a number of things I want to accomplish with this and a few future articles: How to deploy an ASP.NET Core Web API to an Azure App Services Web App How to deploy an ASP.NET Core Web API to an Azure VM Check…


How I tested debugged my chatbot that I created using the Bot Services on Azure

This article has been moved to its new home here:  https://benperk.github.io/msdn/2016/2016-12-how-i-tested-my-chatbot-that-i-created-using-the-bot-services-on-azure.html Well, the fact that you do not need to use Visual Studio or to install the Bot Framework to get a #chatbot or a generic #Bot up and running still applies.  See my other posts: Create a Bot using an Azure App Service Bot Service…


Memory metrics for an Azure Web App and App Service Plan

This articles has been moved to its new home here:  https://benperk.github.io/msdn/2016/2016-11-memory-metrics-for-an-azure-web-app-and-app-service-plan.html Did you ever wonder why memory utilization for a Web App is different than the memory utilization of the App Service Plan, as shown in Figure 1? The App Service Plan in thei example is a SMALL BASIC mode machine. Average memory is 50.68MB which…


Create a memory dump of your App Service when it consumes too much memory

This articles has been moved to its new home here:  https://github.com/benperk/benperk.github.io/blob/master/msdn/2016/2016-10-create-a-memory-dump-of-your-app-service-when-it-consumes-too-much-memory.md I have written a number of troubleshooting labs here, one of which is Lab 21: WinDbg – Memory Consumption.  In this article I will identify how to capture a memory dump of a process that is consuming too much memory.  In this case it is…


Capture a Trace for troubleshooting Azure Portal issues

This article has been moved to its new home here:  https://benperk.github.io/msdn/2016/2016-10-capture-a-trace-for-troubleshooting-azure-portal-issues.html If you ever need to capture trace from within the Azure Portal to troubleshoot an issue, here are the steps required to do that. Login to the portal here. Navigate to the step just prior to where the issue is happening.  Press F5 or refresh….