Table of Contents

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

IDictionary

Request

Gets the Request object in the current request

IRequest Request { get; }

Property Value

IRequest

Response

Gets the Response object for the current request

IResponse Response { get; }

Property Value

IResponse

Server

Gets the Server object providing methods used in processing Requests

IServer Server { get; }

Property Value

IServer

Session

Gets the Session object for the current request

ISession? Session { get; }

Property Value

ISession
To top