System.Web.Hosting.SimpleWorkerRequest Class

Provides a simple implementation of the System.Web.HttpWorkerRequest abstract class that can be used to host ASP.NET applications outside an Internet Information Services (IIS) application. You can employ SimpleWorkerRequest directly or extend it.

See Also: SimpleWorkerRequest Members


public class SimpleWorkerRequest : System.Web.HttpWorkerRequest


This simple implementation of HttpWorkerRequest provides the request URL and the query string and captures the body of the output into a System.IO.TextWriter. To achieve richer functionality, such as providing posted content and headers and capturing the response headers or response body as binary data, you should extend SimpleWorkerRequest and override the appropriate HttpWorkerRequest methods.


Namespace: System.Web.Hosting
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,