SimpleWorkerRequest Class
.NET Framework 3.0
Provides a simple implementation of the 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.
Namespace: System.Web.Hosting
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration <ComVisibleAttribute(False)> _ Public Class SimpleWorkerRequest Inherits HttpWorkerRequest 'Usage Dim instance As SimpleWorkerRequest
/** @attribute ComVisibleAttribute(false) */ public class SimpleWorkerRequest extends HttpWorkerRequest
ComVisibleAttribute(false) public class SimpleWorkerRequest extends HttpWorkerRequest
Not applicable.
This simple implementation of HttpWorkerRequest provides the request URL and the query string and captures the body of the output into a 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.
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand. Permission value: Minimal.
- AspNetHostingPermission for operating in a hosted environment. Demand value: InheritanceDemand. Permission value: Minimal.
Community Additions
ADD
Show: