httpserverutility

Can't find HttpServerUtility class in System.Web in C#

I'm trying to call the HttpServerUtuility.URLDecode function in C# using Visual Studio 2005, but it can't be found. I'm using System.Web properly, but the class doesn't seem to be there. Do I need to add some sort of reference to my project? ...

Has anyone succesfully called this method: HttpServerUtility.Transfer(IHttpHandler, Boolean) ?

Hi there, I am doing some nifty research in my search for an optimal solution in regards to dynamic server transfers to classes implementing the IHttpHandler interface, and for this, I would like to experiment with the in title specified method signature. When I look in the MSDN documentation, I have my normal trivial implementation wh...

How can I make HttpContext available to be used by my Unit Tests?

Hi, I want to write a unit test which tests the function of a class called UploadedFile. The problem I face is this class' static constructor uses HttpContext.Current property and because I am running my unit test from a class library I do not have an HttpContext at the testing time. Look at my static constructor: static UploadedFil...