Delete inbound cookies in IIS using URL Rewrite

I have recently come across a few issues where some web apps were having a bad time due to some “evil” cookies in the HTTP request headers. Although web applications would normally expect to receive back the cookies they previously set, they don’t really control what user agents include in the HTTP headers. Not to…


Tips for Running an Angular app in IIS

Laurie Atkinson, Premier Developer Senior Consultant, A few tweaks are necessary to take an Angular app and move it to IIS. Here is a list of changes required to get everything running smoothly. Using the Angular-CLI to generate an Angular SPA is an excellent way to scaffold out a well-organized application. This tool also includes…


Changing the maxLogFileSizeKB on an Azure App Service

I wrote this article “Making changes to the applicationHost.config on Azure App Service” here which explains the details about creating an XDT file that supports the configuration of some properties found in the applicationHost.config file.  Keep in mind that not all of the attributes in the applicationHost.config file can be altered, you might be able…


How to identify PID of AppPools

Today, I just decided to write a very straightforward post about something that I was not aware it would be a big issue, but in fact there a lot of people struggle with this. Basically is how to identify the PID of an AppPool, this cames in play many times when we are troubleshooting something…


Génération des MachineKeys .Net dans des environnements à répartition de charge / .Net MachineKeys generation for loadbalanced environments.

  Go to English version Les serveurs IIS de production sont souvent membres d’une ferme de serveurs Web (A la fois des raisons de performance et de fiabilité). Or dans le cadre d’applications ASP.Net il est obligatoire d’uniformiser les MachineKeys des applications sur l’ensemble de ces serveurs (je vous invite à consulter le liens ci-dessous…


Workaround: error installing IIS Media Services on Windows Server 2016

tl;dr: Installing IIS Media Services 4.1 on Windows Server fails with error message “IIS Version 7.0 or greater is required to install IIS Media Services 4.1”. Change the version information of the IIS in the registry, install the Media Services 4.1 again, and after successful installation change the registry key back. Last month I had a…


Machine Keys on an Azure App Service, machineKey multiple instances Azure

When you run an ASP.NET application on multiple instances of an App Service Plan (ASP) you do not need to worry about machineKeys as the App Service Platform will use the same one across all your instances and therefore will not need to make any changes to your application. I found this sample code and…


End to End SSL with Azure Application Gateway

Azure Application Gateway is a layer 7 load balancer with features such as SSL termination, WAF and multiple routing options. For web applications this is a great option for load balancing your applications across multiple back end servers where the Azure Load Balancer may not meet your requirements. In this post, I’ll walk through an…

1

IIS Services: HTTP.sys, W3SVC, WAS, W3WP, oh my!

When client makes an HTTP request to IIS, there are many layers of drivers and services it travels through. In this blog, I wanted to give a high level overview of the major layers showing how they fit altogether. Here is the high level flow: HTTP.sys is the Kernel-mode HTTP/HTTPS protocol listener. HTTP.sys listens for…