Archives
-
CTP2 of IIS7 PowerShell Provider Released!
Tech Preview 2 of the IIS7 PowerShell Provider is now available for download.
-
Now Available: URL Rewriter Tech Preview 1
Today we are releasing Technical Preview 1 of the URL Rewrite Module for IIS 7.0.
-
IIS Discussion Digest: Edition 1
Many Microsoft folks use an internal alias to discuss their IIS issues. Each week plenty of interesting topics come up. I will try to pick the most interesting topics and blog them regularly. I was a bit late this week, but nonetheless here is Edition Numero One:
-
The IIS Process Model Features
A process model is needed to run more than one web-site, web application or web-service securely and reliably on a single machine. In Shared Hosting scenarios hundreds or even thousands of web-sites run on an individual machine. The code running on these web-sites is usually not well tested, if at all. Without a powerful process model the result would be extremely poor reliability. But a process model not only guarantees availability; it also needs to isolate them so that individual web applications don't interfere with each other.
-
IISRESET light
Note: This blog entry used to be on my old blog. I'm about to shut it down so I thought I replicate some of the content here.
Many IIS customers use IISRESET to get IIS back into a vanilla state. IISRESET is a pretty heavy hammer however and not needed most of the time - why would you restart FTP, WAS and W3SVC and all worker processes just because one of your web applications is locking a DLL or some content. Recycling the Application Pool causing the problem is usually enough. If you don't know which Application Pool is making the trouble you can recycle all of them. Here is how you do it with APPCMD: -
In a Nut Shell: Shared Hosting Improvements on IIS7
We were meeting with AdHost today and I gave a quick 30-minute spiel on what we improved in IIS7 when it comes to Shared Hosting. Here is the list (not necessarily complete):
-
Understanding IIS7 Request Restrictions on Windows Vista
Note: This blog entry used to be on my old blog. I'm about to shut it down so I thought I replicate some of the content here.
-
IIS7 PowerShell Provider Podcast
Saw a post on forums.iis.net last week about a Podcast on our new IIS7 PowerShell Provider. Being the Program Manager for this thing I thought maybe these guys want me to participate in the Podcast. And sure enough - Jonathan and Hal were interested. And here it is the podcast link and the interview topics:
-
Cheesy Web Server Performance Test With PowerShell
Instead of writing WCAT scripts I wrote my own little perf test client. The following .PS1 script works pretty well to do some very basic performance testing. Just enter the URL and the duration in seconds, e.g. ".\webperf.ps1 http://localhost/ 15".
-
IIS 7.0 PowerShell Provider Tech Preview 1
Finally, IIS 7.0 has a PowerShell Provider!
-
IIS 7.0 Trace Viewer
There is a 90% chance I have to use the "Failed Request Tracing" feature (FRT) when I'm troubleshooting IIS7 issues. To be honest, I stopped turning it off. Tracing is so useful and fast that I don't see why I should disable it on my development box. I have a rule that catches all requests (status code 200-500) and there is no negative impact.
-
Configuration Editor teaches you how to write IIS7 scripts
The IIS7 configuration system is pretty complex even though it is plain xml. Writing code or scripts to make configuration changes usually requires a bunch of trial and error. But not anymore! The IIS7 Admin Pack includes a configuration editor that shows you how to make configuration via Microsoft.Web.Administration (the IIS7.NET configuration API), via AHAdmin (the scriptable COM interface Microsoft.Web.Adminstration uses under the covers) and APPCMD (the IIS7 command-line tool).
-
Securely Delegating IIS7 Settings in Hosted Environments
Classic ASP
-
Hosting Übersites: IIS7 Support for International Domain Names (IDN)
Let's suppose you are German, you developed an extremely cool web-site and now you want to make it available to your German Bier buddies. The only really fetzig site name you could come up with contains one of these nasty German umlauts: übersite.de (not registered at the time I'm writing this blog).
-
Integrated Pipeline and the kernel-mode cache
I ran across an interesting issue while writing a sample .NET module for IIS7 the other day. The sample module was supposed to restrict requests to localhost only (you could of course do this by setting the site bindings to 127.0.0.1:80:localhost). Here is the code:
-
IIS7: Moving the INETPUB directory to a different drive
reg add HKLM\Software\Microsoft\inetstp /v PathWWWRoot /t REG_SZ /d f:\inetpub\wwwroot
reg add HKLM\Software\Microsoft\inetstp /v PathFTPRoot /t REG_SZ /d f:\inetpub\ftproot -
SSL certificates on Sites with Host Headers
Today I got the following question: