Which service principal name are registered?

Wanna know if a particular service principal name is registered?

Add the following command to a batch file (called something like “get-spns.bat”) and you get a list of SPN’s registered with a given name and which account is associated with the SPN.

ldifde -f spns.txt -s domaincontroller -r “(|(msDS-AllowedToDelegateTo=*%1*)(servicePrincipalName=*%1*))” -l msDS-AllowedToDelegateTo,servicePrincipalName

usage: get-spns.bat servername/hostheader

open up the created spns.txt and voila.

Wanna know which application pool is used by your application?

Some times I check if my applications are still using the proper application pools (I am not the only administrator of the IIS servers ;) ). You can do this with the IIS GUI ofcourse but you can also use scripting (checking a lot of servers/application and application pools can be a pain in the !@#$%). So I created a little script to do that. more…»

Are your assemblies from a release or debug build?

Ever wondered if the assemblies your developers gives you to install on a production server are from a release build? You can make a little C# console application to check this. more…»

Faster ASP.NET applications

On the site codeproject.com I found a great article with some very good tips for you developers out there to speedup your ASP.NET applications.