Interface IContext
- Namespace
- Dynamicweb.Environment
- Assembly
- Dynamicweb.Core.dll
Defines a contract for the Dynamicweb.Context.Current instance. This interface is an abstraction of HttpContext. Encapsulates all HTTP-specific information about an individual HTTP request.
public interface IContext
Remarks
HttpContext is the default implementation used in Dynamicweb
Properties
Items
Gets a key/value collection that can be used to organize and share data between an IHttpModule interface and an IHttpHandler interface during an HTTP request
IDictionary Items { get; }
Property Value
Request
Gets the Request object in the current request
IRequest Request { get; }
Property Value
Response
Gets the Response object for the current request
IResponse Response { get; }
Property Value
Server
Gets the Server object providing methods used in processing Requests
IServer Server { get; }
Property Value
Session
Gets the Session object for the current request
ISession? Session { get; }