Enable logging for your Hybrid Connection Manager, troubleshooting

Hybrid Connection Azure
Hybrid Connection Azure

#HybridConnection #Azure #Microsoft – There are 2 kinds of logging you can use to troubleshoot any issues with your Azure Hybrid Connection Manager.  The first one is to enable System.Net tracing as I describe here.  And the second is to add an App Setting named HYBRIDCONNECTIVITY_LOGGING_ENABLED with a value of 1 to the Azure App…

0

Create a memory dump for your slow performing Web App

Azure App Service
Azure App Service

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 are the steps: 1. Login to your KUDU console.  I…

0

Enable Failed Request Tracing for an Azure App Service Web App

Azure App Service
Azure App Service

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 want to take it one step further, you can enable…

0

Enable System.Net tracing on Azure App Service

Microsoft .NET
Microsoft .NET

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 a request from your code that uses either of the…

3

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

ASP.NET Core
ASP.NET Core

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 In some future articles I will reference this article for these…

0

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

ladybug.ai
ladybug.ai

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 Most common chatbot questions and how to answer them Publishing…

1

Memory metrics for an Azure Web App and App Service Plan

Azure App Service
Azure App Service

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 is about ~2.8% of the 1.75GB available for a SMALL…

0

Capture a Trace for troubleshooting Azure Portal issues

Microsoft Azure
Microsoft Azure

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. Press F12 to start the browser Developer Tools (IE and…

0

Remote debug your Azure App Service Web App

Azure App Service
Azure App Service

I created a sample ASP.NET application that you can download from here that contains a slow running request, a handled and an unhandled exception. To configure and remote debug your Microsoft Azure App Service Web App, you will need to perform the following: Have a Web App deployed to the Azure platform Attach the remote…

3

MEX Debugging Extension for WinDbg

WinDbg Debugging
WinDbg Debugging

This has been my favorite WinDbg extension for a long time and I am very happy to see that it has been made public.  It can be downloaded from here. To load the MEX extension, copy the MEX.DLL into the winext directory under which your WinDbg client is running.  It can be placed any where…

2

Azure App Service appLens – finding the root cause

Azure App Service
Azure App Service

There is a really cool new Azure App Service Web App tool called appLens that is explained in more detail here.  Open it by selecting the Settings –> AppLens from the App Service you are interested in analyzing, similar to that shown in Figure 1. Figure 1, AppLens shows this is an application issue not…

0

How to view the event logs of your Azure App Service

Azure App Service
Azure App Service

I have mentioned how to download the eventlog.xml file to view the events which are happening on your Azure App Service (Web App, Mobile App, API App, Logic App) here and here. You can also look at the event logs in a event viewer using KUDU, I discussed KUDU here. Keep in mind that if…

1

How to take a memory dump from a specific App Service instance

Azure App Service
Azure App Service

I wrote this article that discussed how to monitor the different instances of an Azure App Service. As you know, when you access the KUDU console, as I discussed here, you are accessing only 1 of the multiple instances, which may or may not be having a problem. So, if you take a memory dump…

0

Analyze a memory dump using the Debug Diagnostic tool

debugdiag-feature
debugdiag-feature

Once you have captured a memory dump, instead of, or in addition to using WinDbg to analyze the memory dump, you can use a tool called DebugDiag which can be downloaded here.  I discuss how to capture a memory dump in numerous ways here. After installing the debugging tool, make sure have opened the Debug…

0

Install Failed Request Tracing on IIS 8.5 Server Core

To setup Failed Request Tracing on an IIS 8.5 Server Core server, follow these steps. Start PowerShell Install the Web-Http-Tracing Role, using Install-WindowsFeature Configure the rule via a Remote Management IIS connection How to configure an IIS Server Core server for remote management Start PowerShell When you login to a Service Core installation of Windows…

0