Class WebContext
Implementation of IHttpContext which wraps the standard System.Web
Inheritance
System.Object
WebContext
Implements
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.Web.dll
Syntax
public class WebContext : object, IHttpContext
Constructors
| Improve this Doc View SourceWebContext(HttpContext)
Creates a new Web Context
Declaration
public WebContext(HttpContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context | HTTP Context |
Properties
| Improve this Doc View SourceRequest
Gets the HTTP Request
Declaration
public IHttpProtocolRequest Request { get; }
Property Value
| Type | Description |
|---|---|
| IHttpProtocolRequest |
Response
Gets the HTTP Response
Declaration
public IHttpProtocolResponse Response { get; }
Property Value
| Type | Description |
|---|---|
| IHttpProtocolResponse |
User
Gets the User
Declaration
public IPrincipal User { get; }
Property Value
| Type | Description |
|---|---|
| IPrincipal |