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…

2

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…

0

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

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

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

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…

0

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

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

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

Create a W3WP memory dump, quick and easy

I have written a number of articles on how to create memory dumps for troubleshooting W3WP process hangs, crashes or memory consumption issues. • Create a memory dump when the W3WP process terminates using Procdump• Creating a W3WP Memory dump on Windows Server 2003• Creating a W3WP Memory dump on Windows Server 2008 R2• Configure Debug Diagnostic 2.0 to…

0

Troubleshoot a Web API Self Host performance problem

If you have not tried creating a Self-Hosted Web API, you might give it a shot, here is a good, getting started example.  Once it gets into production, if you are looking for ways to troubleshoot a slow performing self-hosted Web API, searching for a W3WP process to take a memory dump of or applying…

0

IIS Admin Service fails to start

I was working on an unrelated issue and all of a sudden I started getting some strange errors in IIS.  Something like the errors shown in Figure 1 and Figure 2.  Figure 1 was rendered when I opened the IIS management console and attempted to expand the server name to see the websites on the…

5