Internet Explorer is not an HTTP Validator

Question: I tried a 2nd approach in porting client code from WinInet, and that was to utilize managed C++, as opposed to WinHttp. After implementing the .NET managed client code…    HttpWebRequest^ myReq = dynamic_cast<HttpWebRequest^>(WebRequest::Create( strTargetURL ));    myReq->Method = “POST”;    …     HttpWebResponse^ HttpWResp = dynamic_cast<HttpWebResponse^>(myReq->GetResponse()); Within the code, GetResponse() throws…     An unhandled exception of…


Water Day 2006

Annually, the IIS team gathers at Emily’s house on the shores of lake Sammamish to enjoy a day of fun under under the sun. We call it “water day”, and it has been a team tradition for at least as long as I have been on the IIS team. Its organization, activities, and participants constantly alter,…


Hunting for Real Estate

Lately, I have not been making frequent blog posts. There are good reasons, of course… and I will get to disclosing them in the near future. Recently, I have been spending a lot of time house-hunting. Yeah, I have decided that it is about time for me to move from my condo into a stand-alone house….


What is wrong with Free?

Ok, maybe this is something you business/marketing types understand intrinsically… but it is something that I do not understand, so please bear with me. Why do people complain about getting something for free that used to require money? I thought people like getting something for nothing. For example, Microsoft recently announced that Virtual PC 2004…


TS Gateway on Vista Server Rocks!

Back in this blog entry, I mused about the nice Audio over RDP feature. It is pretty sweet to have secure, remote access to one’s audio collection. Well, I recently started playing with RDP over the new TS Gateway on Vista Server, and I have to say that it just keeps getting better. In the…


Laptop Business 2006

Ok, I know that I just purchased an IBM X41 Tablet last fall, but I am in the market for a new laptop again. No, nothing wrong with my computers… I am just going to be giving the X41 to my younger sister so that she can use it during Law School the next few…


HOWTO: Basic Native/Managed Code Interop

IIS7 core extensibility model supports both native and managed code as first-class citizens. So, I feel it is time for a little refresher on managed/native code interop… starting with the more popular route of how to wrap native code API for use within managed code. I am using the newer syntax introduced with .Net Framework…


CGI Failing with 404 on IIS

Yes… software can have bugs, even if you test it. 🙂 Question: I have written a C EXE that I have renamed as ‘prog.cgi’.  I have tested it successfully on IIS 5.0 on Windows 2000 Server and IIS 6.0 on Windows 2003 Server. The program is invoked like so: During the first run the…


Can ISAPI Filter change the Request’s domain name?

Question: Hi, I would like to know if we can get the entire URL that is sent through the browser into the ISAPI filter DLL. E.g. If I have a URL like – what I get into the DLL (using GetHeader) is “/test”. But I need the entire URL as I want to make…


HOWTO: Convert between JScript Array and VB Safe Array

I recently got a question about how to manipulate the LIST data type within JScript since my sample code only illustrated VBScript. Well… one reason why that example is in VBScript is because LIST manipulation (a VB SafeArray) is more straight forward and requires much less code in VBScript. Then, there is Microsoft documentation which…