November Happy Hour will be moved to Thursday December 5th.

Class RestControllerBase

Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Namespace: EPiServer.Shell.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[CompressFilter]
public abstract class RestControllerBase : ControllerBase, IAsyncController, IController, IAsyncManagerContainer

Constructors

RestControllerBase()

Declaration
protected RestControllerBase()

Properties

ActionInvoker

Declaration
public IActionInvoker ActionInvoker { get; set; }
Property Value
Type Description
System.Web.Mvc.IActionInvoker

AsyncManager

Declaration
public AsyncManager AsyncManager { get; }
Property Value
Type Description
System.Web.Mvc.Async.AsyncManager

DisableAsyncSupport

Declaration
protected virtual bool DisableAsyncSupport { get; }
Property Value
Type Description
System.Boolean

HttpContext

Declaration
public HttpContextBase HttpContext { get; }
Property Value
Type Description
System.Web.HttpContextBase

RouteData

Declaration
public RouteData RouteData { get; }
Property Value
Type Description
System.Web.Routing.RouteData

User

Declaration
public IPrincipal User { get; }
Property Value
Type Description
System.Security.Principal.IPrincipal

Methods

BeginExecute(RequestContext, AsyncCallback, Object)

Declaration
public IAsyncResult BeginExecute(RequestContext requestContext, AsyncCallback callback, object state)
Parameters
Type Name Description
System.Web.Routing.RequestContext requestContext
System.AsyncCallback callback
System.Object state
Returns
Type Description
System.IAsyncResult

EndExecute(IAsyncResult)

Declaration
public void EndExecute(IAsyncResult asyncResult)
Parameters
Type Name Description
System.IAsyncResult asyncResult

ExecuteCore()

Declaration
protected override void ExecuteCore()

GetActionName()

Declaration
protected virtual string GetActionName()
Returns
Type Description
System.String

Rest(IEnumerable<Object>, ItemRange)

Declaration
protected RestResult Rest(IEnumerable<object> data, ItemRange range)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Object> data
ItemRange range
Returns
Type Description
RestResult

Rest(Object)

Declaration
protected RestResult Rest(object data)
Parameters
Type Name Description
System.Object data
Returns
Type Description
RestResult

Implements

System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer

Extension Methods