System.Web.Http Namespace

Classes

ApiController
BadRequestErrorMessageResult

An action result that returns a Status400BadRequest response and performs content negotiation on an HttpError with a Message.

ConflictResult

An action result that returns an empty Status409Conflict response.

ExceptionResult

An action result that returns a Status500InternalServerError response and performs content negotiation on an HttpError based on an Exception.

FromUriAttribute

An attribute that specifies that the value can be bound from the query string or route data.

HttpError

Defines a serializable container for storing error information. This information is stored as key/value pairs. The dictionary keys to look up standard error information are available on the HttpErrorKeys type.

HttpErrorKeys

Provides keys to look up error information stored in the HttpError dictionary.

HttpResponseException
InternalServerErrorResult

An action result that returns an empty Status500InternalServerError response.

InvalidModelStateResult

An action result that returns a Status400BadRequest response and performs content negotiation on an HttpError based on a ModelStateDictionary.

NegotiatedContentResult<T>

An action result that performs content negotiation.

ResponseMessageResult

An action result that returns a specified response message.