Most Important AppCmd Commands: Backing up and restoring IIS7 configuration

Facebook Twitter Google+ LinkedIn Welcome to the first post of the "Most Important AppCmd Commands" series.  Have you ever made some changes to a system's state, and then after everything suddenly stopped working, wondered how the hell you are going to get back to a working state?  Well, this post is all about doing just … [Read more…]

Most Important AppCmd Commands

Facebook Twitter Google+ LinkedIn Usually, a day doesnt go by that I dont get a collegue or a partner team in Microsoft asking how to do something or other about AppCmd.exe, the unified command line management tool for the IIS7 server.  Since its inception in the fall of 2005, the tool has been becoming increasingly … [Read more…]

A look at the IIS7 web server in MSDN magazine

Facebook Twitter Google+ LinkedIn The march edition of MSDN magazine is live, containing my article about the IIS7 web server in Windows Vista.  The article is an overview of the many features and architectural changes in IIS7, that hopefully will point people towards the specific things that they may want to learn more about and … [Read more…]

Get nice looking directory listings for your IIS website with DirectoryListingModule

Facebook Twitter Google+ LinkedIn *************************************************(NEW) Update – 2/1/09:Clarified installation instructions (see post).Fixed bugs: – Occasional icons missing / icons missing during heavy load due to MTA problems with SHGetFileInfo (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=337530) – Directory listing template has broken icons in some configurations *************************************************Update – 4/26/08:IconHandler 2.0 released. Use IconHandler to build your own directory listing, or any other app that needs file … [Read more…]

Display pretty file icons in your ASP.NET applications with IconHandler

Facebook Twitter Google+ LinkedIn *************************************************Update – 4/26/08:IconHandler 2.0 released.  **************************************************Update – 1/20/2007: Use the IconHandler in conjunction with the DirectoryListingModule to set up a nice-looking directory listing for your IIS website, or create a your own directory listing template.************************************************** Do you like file icons?  I do.  They make it pretty easy to visually digest file … [Read more…]

You can actually download the hotlinking blocker module now

Facebook Twitter Google+ LinkedIn Apparently, my previous post of the LeechGuard hot-linking prevention module ended up with broken download and image links.  No-one could download the module, and on my home network I could see it just fine.  The funniest thing is that I found out about this from an internal email forward that referenced … [Read more…]

Fix problems with Visual Studio F5 debugging of ASP.NET applications on IIS7 Vista

Facebook Twitter Google+ LinkedIn ********************************************************************** UPDATE – 4/8/2008 I've collected the various how-tos and gotchas about using Visual Studio 2005 and Visual Studio 2008 with IIS 7.0 applications into two detailed articles:Using Visual Studio 2005 with IIS 7.0Using Visual Studio 2008 with IIS 7.0Be sure to check them out for detailed info on working with both … [Read more…]

IIS7 modules vs. IIS6 ISAPI: Managing request state in your module

Facebook Twitter Google+ LinkedIn For post #4 in the IIS7 Modules vs. IIS6 ISAPI series, let's take a look at another common pattern in IIS module development – storing request-specific state inside your module. When developing a module that participates in request processing, it is often necessary to store request-specific state that the module computes … [Read more…]

Stopping hot-linking with IIS and ASP.NET

Facebook Twitter Google+ LinkedIn Many web sites suffer from others directly linking to their image, video and other content. This practice is called often called leeching, hot-linking, or inline-linking and causes wasted bandwidth and increased server load to the victim web site. Last weekend, I wrote a little ASP.NET module that prevents hot linking. It … [Read more…]

Try out the IIS FastCGI techical preview

Facebook Twitter Google+ LinkedIn As you know, we released the FastCGI technical preview this week, aimed at providing a fast and stable platform for running FastCGI applications like PHP.  Its been very popular, with more downloads then we have expected for the first week. I wanted to say thank you to everyone trying this out.  … [Read more…]