System.Web.Http.Controllers Namespace
The System.Web.Http.Controllers contains classes that control the HTTP operation.
Classes
Class | Description | |
---|---|---|
ApiControllerActionInvoker | Invokes the action methods of a controller. | |
ApiControllerActionSelector | Represents a reflection based action selector. | |
ControllerServices | Represents a container for services that can be specific to a controller. This shadows the services from its parent ServicesContainer. A controller can either set a service here, or fall through to the more global set of services. | |
HttpActionBinding | Describes *how* the binding will happen and does not actually bind. | |
HttpActionContext | Contains information for the executing action. | |
HttpActionContextExtensions | Contains extension methods for HttpActionContext. | |
HttpActionDescriptor | Provides information about the action methods. | |
HttpControllerContext | Contains information for a single HTTP operation. | |
HttpControllerDescriptor | Represents information that describes the HTTP controller. | |
HttpControllerSettings | Contains settings for an HTTP controller. | |
HttpParameterBinding | Describes how a parameter is bound. The binding should be static (based purely on the descriptor) and can be shared across requests. | |
HttpParameterDescriptor | ||
ParameterBindingExtensions | Defines extension methods for HttpParameterBinding. | |
ReflectedHttpActionDescriptor | Represents a reflected synchronous or asynchronous action method. | |
ReflectedHttpParameterDescriptor | ||
ResponseMessageResultConverter | Represents a converter for actions with a return type of HttpResponseMessage. | |
ServicesContainer | An abstract class that provides a container for services used by ASP.NET Web API. | |
ValueResultConverter<T> | A converter for creating responses from actions that return an arbitrary T value. | |
VoidResultConverter | Represents a converter for creating a response from actions that do not return a value. |
Interfaces
Interface | Description | |
---|---|---|
IActionHttpMethodProvider | ||
IActionResultConverter | A contract for a conversion routine that can take the result of an action returned from <see cref="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})" /> and convert it to an instance of HttpResponseMessage. | |
IActionValueBinder | ||
IControllerConfiguration | If a controller is decorated with an attribute with this interface, then it gets invoked to initialize the controller settings. | |
IHttpActionInvoker | Contains method that is used to invoke HTTP operation. | |
IHttpActionSelector | Contains the logic for selecting an action method. | |
IHttpController |