Archives
-
Managing Windows EC2 Instances remotely with Powershell
For a long time now I'm trying to find out how to remotely manage an EC2 machine with Powershell.It finally worked. Here is how:
-
Troubleshooting Helper Script for Microsoft Web Matrix
Well, this didn't work too well. I had to replace the previous post with this one because the script had some issues. Let's start again:
-
My Web Site is so slow… And I don't know what to do about it!
TechEd Northamerica started today. It's huge - more than 11,000 attendees from what I hear. One of my talks, titled "My Web Site is so slow…and I don't know what to do about it", happened this afternoon (here the PPTX).
-
Why unknown file types are not served by IIS
Quick one today.
-
WCAT Fiddler Extension for Web Server Performance Tests
For web server performance testing the Microsoft Web Capacity Analysis Tool (WCAT) is the tool of choice of the IIS team as well as the Windows Performance Team. Simple tests that hammer IIS with thousands of requests to the same HTTP page to very sophisticated web hosting and benchmark scenarios - there is nothing that WCAT can't do. Even on ApacheCon I heard some hard-core Apache guys talking about using WCAT for their performance tests.
-
Careful when using the Cache-Control Header UI in IIS 7.x!
I was just reading Eric Lawrence's blog on Cache headers. In it Eric describes that it's necessary to use sensible values for the Max-Age headers because IE and several browsers don't like values greater than the size of a signed 32-Bit Integer, i.e. 2,147,483,647. Bigger values result in the content not being cached at all. Using the max 32-Bit integer value (2,147,483,647) is more than enough though. It caches the content for more than 68 years (max-age is using seconds so you divide 2,147,483,647 by 60 seconds by 60 minutes by 24 hours by 365 days which gets us to 68 years).
-
Running Wordpress on MariaDB on Windows
You might have read that the MySQL codebase was forked. The MySQL founder, Monty Widenius, is - how should we say it - not quite happy with the direction MySQL is going after the Oracle acquisition. So Monty and his team forked MySQL and called his branch MariaDB after his youngest daughter.
-
Setting up SSL made easy…
This blog post is about a small tool I just finished. It makes configuring and using SSL much easier. In the first part of the blog post I quickly review the problems and difficulties you run into when setting up SSL. Then I introduce SELFSSL7 and finally walk through several usage scenarios.
-
Microsoft Web Platform on Amazon EC2
One thing we often hear from Web developers, especially those who offer Web site design and consulting services, is the need to get a Web site up quickly, which runs fast and gives them total control of the server for maximum flexibility and scalability. Today's post is about the four Microsoft Web Platform Images (AMIs) we offer on the Amazon EC2 platform. These four images allow you to start a blog, stream media or run a web application within minutes - live on the Internet!
-
A New Site - Quick!
For testing purposes I sometimes need a new IIS site, often times running in its own AppPool. And I usually need it fast and without much programming. I hate ports and so I normally put my site name in the hosts file. Locally this works great!
-
How to run a CGI program under IIS 7.0 or IIS 7.5
Looking around I didn't find a good documentation on how to get good old CGI's running on IIS 7 or 7.5. Here is a quick walkthrough:
-
Measuring incoming and outgoing bandwidth per Application Pool
This blog post is about working in a big company where the left hand often times doesn't know what the right hand does.
-
Put the brakes on your Application Pools: CPU Rate Limits in Windows Server 2008
Are you using IIS Application Pools to host your customer's web sites? The more sites you host on a single machine the more likely it is one of these sites misbehaves and monopolizes system resources like the CPU. It's so easy for a programmer to do - forget to call the MoveNext() function in a database script and you spin the CPU at 100% until the underlying script engine times out.