System.Web.Http Namespace
The System.Web.Http namespace contains classes of HTTP attributes.
| Class | Description | |
|---|---|---|
![]() | AcceptVerbsAttribute | Represents an attribute that specifies which HTTP methods an action method will respond to. |
![]() | ActionNameAttribute | Represents an attribute that is used for the name of an action. |
![]() | AllowAnonymousAttribute | Specifies that actions and controllers are skipped by AuthorizeAttribute during authorization. |
![]() | ApiController | Defines properties and methods for API controller. |
![]() | AuthorizeAttribute | Specifies the authorization filter that verifies the request's IPrincipal. |
![]() | CorsHttpConfigurationExtensions | CORS-related extension methods for HttpConfiguration. |
![]() | FromBodyAttribute | An attribute that specifies that an action parameter comes only from the entity body of the incoming HttpRequestMessage. |
![]() | FromUriAttribute | An attribute that specifies that an action parameter comes from the URI of the incoming HttpRequestMessage. |
![]() | GlobalConfiguration | Provides a global HttpConfiguration for ASP.NET applications. |
![]() | HostAuthenticationAttribute | Represents an authentication attribute that authenticates via OWIN middleware. |
![]() | HostAuthenticationFilter | Represents an authentication filter that authenticates via OWIN middleware. |
![]() | HttpBindNeverAttribute | Represents attributes that specifies that HTTP binding should exclude a property. |
![]() | HttpBindRequiredAttribute | Represents the required attribute for http binding. |
![]() | HttpConfiguration | Represents a configuration of HttpServer instances. |
![]() | HttpConfigurationExtensions | Contains extension methods for the HttpConfiguration class. |
![]() | HttpDeleteAttribute | Specifies that an action supports the DELETE HTTP method. |
![]() | 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. |
![]() | HttpGetAttribute | Specifies that an action supports the GET HTTP method. |
![]() | HttpHeadAttribute | Specifies that an action supports the HEAD HTTP method. |
![]() | HttpOptionsAttribute | Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP OPTIONS requests. |
![]() | HttpPatchAttribute | Specifies that an action supports the PATCH HTTP method. |
![]() | HttpPostAttribute | Specifies that an action supports the POST HTTP method. |
![]() | HttpPutAttribute | Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests. |
![]() | HttpResponseException | An exception that allows for a given HttpResponseMessage to be returned to the client. |
![]() | HttpRouteCollection | A collection of IHttpRoute instances. |
![]() | HttpRouteCollectionExtensions | Extension methods for HttpRouteCollection |
![]() | HttpServer | Defines an implementation of an HttpMessageHandler which dispatches an incoming HttpRequestMessage and creates an HttpResponseMessage as a result. |
![]() | NonActionAttribute | Represents an attribute that is used to indicate that a controller method is not an action method. |
![]() | ODataHttpConfigurationExtensions | Provides extension methods for the HttpConfiguration class. |
![]() | ODataHttpErrorExtensions | Provides extension methods for the HttpError class. |
![]() | ODataHttpRouteCollectionExtensions | Provides extension methods for the HttpRouteCollection class. |
![]() | ODataMediaTypeFormatterCollectionExtensions | Provides extension methods for the MediaTypeFormatterCollection class. |
![]() | ODataUrlHelperExtensions | Provides extension methods for the UrlHelper class. |
![]() | OverrideActionFiltersAttribute | Represents a filter attribute that overrides action filters defined at a higher level. |
![]() | OverrideAuthenticationAttribute | Represents a filter attribute that overrides authentication filters defined at a higher level. |
![]() | OverrideAuthorizationAttribute | Represents a filter attribute that overrides authorization filters defined at a higher level. |
![]() | OverrideExceptionFiltersAttribute | Represents a filter attribute that overrides exception filters defined at a higher level. |
![]() | OwinHttpConfigurationExtensions | Provides extension methods for the HttpConfiguration class. |
![]() | ParameterBindingAttribute | Attribute on a parameter or type that produces a HttpParameterBinding. If the attribute is on a type-declaration, then it's as if that attribute is present on all action parameters of that type. |
![]() | QueryableAttribute | Obsolete.Enables a controller action to support OData query parameters. |
![]() | RouteAttribute | Place on an action to expose it directly via a route. |
![]() | RouteCollectionExtensions | Extension methods for RouteCollection |
![]() | RouteParameter | The RouteParameter class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a M:IHttpRoute.RouteTemplate). It can for example be used to indicate that a route parameter is optional. |
![]() | RoutePrefixAttribute | Annotates a controller with a route prefix that applies to all actions within the controller. |
![]() | ServicesExtensions | Provides type-safe accessors for services obtained from a ServicesContainerobject. |
![]() | SingleResult | Represents an IQueryable containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace. |
![]() | SingleResult<'T> | Represents an IQueryable<'T> containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace. |
| Interface | Description | |
|---|---|---|
![]() | IHttpActionResult | Defines a command that asynchronously creates an HttpResponseMessage. |
| Enumeration | Description | |
|---|---|---|
![]() | IncludeErrorDetailPolicy | Specifies whether error details, such as exception messages and stack traces, should be included in error messages. |


