Capture and Analyze Brain Waves using Azure, Part 2

Analyze Brain Waves
Analyze Brain Waves

I wrote this article for the December 2016 MSDN Magazine, it is part two of a two part series.  Part one was published last month, November 2016, and can be accessed here. Part one of the article covers: The configuration of Emotiv SDK The configuration of the Azure IoT Hub Part two of the article…


Configure Remote IIS Administration for Microsoft Azure App Service

I wrote an article about configuring remote IIS administration here, but what I recently found out is that you can also add a Azure App Services like Web Apps, Mobile Apps, API Apps and Logic Apps to your IIS management console. This is super cool, because it makes the configuration of Failed Request Tracing, URL Rewrite, etc……


Using Traffic Manager as a FAILOVER solution for Azure App Services

I wanted to share an experience I had when using the Azure Traffic Manager with 2 Microsoft Azure App Service Web Apps.  If you are not clear on what the Traffic Manager does, read my other post here.  Simply, it is a way to balance load across multiple identical instances of an application so that…


Renew an IIS 7, IIS 7.5, IIS 8.0 or IIS 8.5 … SSL Certificate (PKCS #10 vs. PKCS #7)

I will confess to not being a security expert.  So this article is not about how the process works, instead about a change that I had a hard time finding when working with a customer some months ago.  Security is serious business, so I like to leave those kinds of things to the experts and…


Using Traffic Manager with Microsoft Azure Web App

One of the most challenging aspects of creating a disaster recovery environment was having a quick failover to a website that exists in another datacenter.  These failover instances usually contained stale code, the hardware for the environment was expensive and  rarely, if ever utilized and when we tried to failover to the DR it rarely…


Using Network Tracing to debug System.Net based issues

I have worked on a number of cases where web services or URLs are called using a code segment like the below code snippet. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); The result of the GetResponse() method is some kind of error, for example a Timeout Exception, which is not always brought up to…


Why can’t I publish my web site to Microsoft Azure Web App

There are numerous ways to publish your web sites to a Microsoft Azure App Service Web App.  Click on one of your App Service Web App and on the Quick Start page you see a link called ‘Set up deployment from source control’, as shown in Figure 1. Figure 1, Set up deployment from source control in Microsoft…


Configure Debug Diagnostic 2.0 to create a memory dump when a specific exception is thrown

Debugging a process crash is a challenging activity.  Although you know the exception type, the exceptions error message and you know the method that it is being thrown from, you still can’t find out why the exception is being thrown.  It is especially complicated when the error is happening randomly and you cannot reproduce it….


Get Azure App Service deployment logs from KUDU

If you are performing a deployment and it is not working, working only after some effort or it’s not working as expected, one feature that might help you find the reason is the deployment log available using KUDU. You can access your deployment details by entering (where standard is the site name of your Microsoft Azure…


Staging and testing your Microsoft Azure App Service

There was a recent announcement of some new features on the Microsoft Azure App Service platform that supports the deployment of your new web site instance without impacting or changing the live web site. This is a feature that has been available on the Cloud Service platform form most of its existence and is very…


Using HTTP ETW tracing to troubleshoot HTTP issues

I wrote this article here in regards to an issue that I was having after installing an SSL certificate on an IIS web server. One of the tools I used was the HTTP ETW trace, also known as LOGMAN. As you notice from reading the other previous article, I was receiving a 404 HTTP Status…


How to store and access your IIS Logs on Microsoft Azure App Service

Being part of the IIS support team I have memorized the structure of an IIS log file and can see oddities almost instantly.  Therefore, one of the things I want to look at when troubleshooting any Microsoft Azure Web App issue are the logs.  As Microsoft Azure App Service is relatively new when I work with a customer on…


HTTP 404 after installing an SSL Certificate

I was configuring an SSL certificate and once complete, when I attempted to access the website using https://localhost I started receiving a 404 error as shown in Figure 1. Figure 1, 404 HTTP Status after installing an SSL Certificate I tried some shots at troubleshooting the issue using Failed Request Tracing and LogParser to view…


Scaling your Microsoft Azure App Service Web App

Having spent many years supporting web sites running on IIS one of the most challenging aspects was managing load.  I was able to plan for near-term growth by tracking the CPU, Memory, total number of requests, etc… over time and once the utilization of these elements exceeded my threshold for what I considered manageable, it…


Using Procdump and Failed Request Tracing to capture a memory dump

One of my favorite tools for troubleshooting Internet Information Service issues is ProcDump.  It is a single, small, yet powerful EXE that is very useful for capturing W3WP.exe process memory dumps. One of my other favorites is Failed Request Tracing which I have written about here and here for a Windows Azure Web Site. Failed…