Contents tagged with IIS7
-
Now available for download: Release Candidate of IIS PowerShell Snap-in
We just made the Release Candidate of the IIS PowerShell Snap-in available. A lot of work was done between Tech Preview 2 and now. We focused mainly on augmenting the PowerShell Provider with almost 70 task-oriented cmdlets useful for day-to-day administrative tasks. Here is a quick categorization of the task-oriented cmdlets:
-
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: -
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.
-
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:
-
SSL certificates on Sites with Host Headers
Today I got the following question:
-
IIS7 rejecting URLs containing +
If your application has a custom handler you might run into the following error message: