IIS web-servers running in Windows Azure may reveal their private IP for certain requests.

Internet Information Services (the handy web-server from Microsoft) runs on Windows server OS but also in the Microsoft Azure Cloud. If you are building virtual machines and deploying them to the cloud (IAAS – Infrastructure as a Service) or using Cloud Services from Windows Azure (PAAS – Platform as a Service), you will basically be…


IIS with URL Rewrite as a reverse proxy – part 2 – dealing with 500.52 status codes

This is the second article in a three-part series of articles dealing with setting up IIS as a reverse proxy. Check out part one here. IIS acting as reverse proxy: Where the problems start: Testing this new setup for basic scenarios may work, but you can also be presented with a couple of issues. The…


Setup IIS with URL Rewrite as a reverse proxy for real world apps.

Url Rewrite, one of the many modules that can be added on to the IIS web-server to make this a very versatile tool can be used to perform a variety of tasks, including allowing you to setup your IIS web-server as a reverse-proxy server to some other back-end HTTP service. A reverse proxy is a…


Disabling TLS 1.0 on your Windows 2008 R2 server – just because you still have one

Windows 2008 R2 server is a very popular distribution of Windows that has been used time and time again to power servers running ASP.net websites – either on the Internet or on Intranets. Although this Windows version has somewhat aged from 8 years ago, I still tend to see quite a lot of these installs…


Debugging your custom FTP authentication provider module

If you are reading this article, I will make the assumption that you already know that in Microsoft FTP server that comes with IIS 7.5 or above, you have three possibilities for authentication: Anonymous: you let all users in without requiring credentials from their side Basic Authentication: users have to provide a username and password…


Application pool gets recycled due to anti-virus?

It’s not the first time that I heard of my customers complaining about their anti-virus: after a certain activity (such as a regular scanning for system files), their application pools get restarted automatically. When this issue happens, some customers are seeing the following event in System Event Log: Log Name: System Source: Microsoft-Windows-WAS Date: XXXX…


ASP.net segment heap sizes – or how much virtual memory my web-app will need

Many a times, customers come to me saying they have a feeling that their ASP.net application takes up more memory then it did before, especially if they are migrating from the .Net 2.0 Runtime to the .Net 4.0 Runtime and from a 32 bit architecture to a 64 bit architecture. Some time ago, I wrote…


User Controls, Update Panels and JQuery scripts all working together happily.

While working on implementing new functionality on my online favorites manager (www.linqto.me) which I encourage everyone to check out, I came across the following problem: Given a UserControl, I would like to have an UpdatePanel that would refresh some of the HTML that was generated by user control on the pages it is used on….


Azure Black IPs – getting started video

This week, together with my colleague Emmanuel, we released a Nuget package called Azure Black IPs that would allow you to track IP addresses that send requests that trigger the ASP.net validation for your websites. Here is a quick video of how to install and get started with the Azure Black IPs Nuget pakage: To…