Home

Castle Stronghold

IRailsEngineContext API Document

Represents an abstraction between the MonoRail API and the ASP.Net API.

Properties

NameTypeDescription
RequestTypeString Gets the request type (GET, POST, etc)
UrlString Gets the URL.
UrlReferrerString Gets the referring URL.
UnderlyingContextHttpContext Gets the underlying context of the API being used.
ParamsNameValueCollection Access the params (Query, Post, headers and Cookies)
SessionIDictionary Access the session objects.
RequestIRequest Gets the request object.
ResponseIResponse Gets the response object.
TraceITrace Gets the trace object.
CacheCache Access the Cache associated with this web execution context.
FlashFlash Access a dictionary of volative items.
CurrentUserIPrincipal Gets or sets the current user.
LastExceptionException Gets the last exception raised during the execution of an action.
ApplicationPathString Returns the application path.
ApplicationPhysicalPathString Returns the physical application path.
UrlInfoUrlInfo Returns the Castle.MonoRail.Framework.IRailsEngineContext.UrlInfo of the the current request.
ServerIServerUtility Returns an Castle.MonoRail.Framework.IServerUtility.

Methods

Transfer(String path, Boolean preserveForm)

Transfer the execution to another resource.

ParameterDescription
path
preserveForm

Google
Search WWW Search castleproject.org