Adding Icons to your custom IIS 7.0 Manager UI Modules

There is a lot of enthusiasm around building IIS UI modules that show up in the IIS Manager. The extensibility model that IIS 7.0 ships with is great and provides a lot of opportunity for developers to come up with nifty modules. One thing that developers miss out is to add an icon for the…

2

IIS 7.0 – IIS Manager Module to scan for assemblies built in debug mode

Often assemblies are built in debug mode and deployed on production servers causing performance degradation. Using this module you can scan all your website folders to find .net modules that are built in debug mode. INSTALLATION 1. You will have to add the assembly to the GAC on the server gacutil /if FindDebugModules.dll (or) Drag…

9

Preventing ildasm from disassembling your assembly

The MSIL Disassembler (ildasm.exe) is a neat tool that can be used to view the MSIL code of a .Net assembly/dll. Many of you should have used it to peek into assemblies while debugging/troubleshooting. I use it a lot to check assembly namespaces and stuff while debugging. But when I tried to disassemble one particular…

7

IIS 7.0 – Seven goof ups in IIS 7

The way I see it here are seven goof ups that will most likely make it to the shipped product. FYI so that you don’t end up getting surprises. 1. Clusweb.vbs Clusftp.vbs are shipped but not supported IIS 6.0/5.0 supported clustering of IIS servers. Personally I never understood the reason for clustering IIS its use/benefits…

3

IIS 6.0 – FastCGI

CGI application were discouraged on IIS webservers because for every request a new host process had to be spawned raising questions about performance. The FastCGI protocol is set to change this. The concept is simple instead of creating a new host process for each request and killing it …reuse a bunch(or single) of processes to handle…

6

SOS your Visual Studio

 If you as a developer are interested in taking quick peeks into memory allocation you can load SOS (Son Of Strike) in Visual Studio to do that. SOS is written as a WinDbg extension but can load in Visual Studio and do most of the stuff. To begin with you will have to go to…

4

Orchestrating Kerberos Authentication …. SPN Cheat Sheet

When it comes to orchestrating Kerberos authentication on IIS websites most people get it wrong when the question of Service Principal Names (SPN) comes up. Microsoft PSS gets a huge number of such issues. When you set a SPN you are telling the Key Distribution Centre (KDC) that a service of this type and this…

7

Visual Studio Debugging websites that require client certificates

Just when I was too confident about my Visual Studio F5 skills I encountered the devil 🙂  Not a very common scenario but consider you are developing a website off an IIS server and you need to debug it. The only catch is that the website is configured to require client certificates on IIS. The…

0

IIS 6.0 Recovering websites from a stale metabase.xml

     The metabase is a repository for most IIS configuration settings. It resides as a plaintext XML file metabase.xml in the systemroot\System32\Inetsrv folder. All the websites and their corresponding settings are stored in this file.      The problem with this file is that even though it is plain text xml we cannot copy it over…

20