Last post Oct 23, 2007 06:18 PM by BryanJD
Oct 23, 2007 07:39 AM|Muralidharan|LINK
any one know difference between HttpWorkerRequest and HttpRequest?
Oct 23, 2007 06:18 PM|BryanJD|LINK
From MSDN (HttpWorkerRequest): "This abstract class defines the base worker methods and enumerations used by ASP.NET managed code to process requests."
"In most cases, your code will not deal with
HttpWorkerRequest directly because request and response data are exposed through the
HttpResponse classes. Some internal ASP.NET classes extend this class. If your code implements its own hosting environment, it will need to extend this class to call the
ProcessRequest method. In addition, your code could create a derived class for the purpose of child-request execution within a given application in order to pass its instance to
ProcessRequest. In this case, the derived class should keep a reference to the current
HttpWorkerRequest and delegate most of the methods to it."
Hopefully this helps.