Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Web.Http Namespace

 

The System.Web.Http namespace contains classes of HTTP attributes.

ClassDescription
System_CAPS_pubclassAcceptVerbsAttribute

Represents an attribute that specifies which HTTP methods an action method will respond to.

System_CAPS_pubclassActionNameAttribute

Represents an attribute that is used for the name of an action.

System_CAPS_pubclassAllowAnonymousAttribute

Specifies that actions and controllers are skipped by AuthorizeAttribute during authorization.

System_CAPS_pubclassApiController

Defines properties and methods for API controller.

System_CAPS_pubclassAuthorizeAttribute

Specifies the authorization filter that verifies the request's IPrincipal.

System_CAPS_pubclassCorsHttpConfigurationExtensions

CORS-related extension methods for HttpConfiguration.

System_CAPS_pubclassFromBodyAttribute

An attribute that specifies that an action parameter comes only from the entity body of the incoming HttpRequestMessage.

System_CAPS_pubclassFromUriAttribute

An attribute that specifies that an action parameter comes from the URI of the incoming HttpRequestMessage.

System_CAPS_pubclassGlobalConfiguration

Provides a global HttpConfiguration for ASP.NET applications.

System_CAPS_pubclassHostAuthenticationAttribute

Represents an authentication attribute that authenticates via OWIN middleware.

System_CAPS_pubclassHostAuthenticationFilter

Represents an authentication filter that authenticates via OWIN middleware.

System_CAPS_pubclassHttpBindNeverAttribute

Represents attributes that specifies that HTTP binding should exclude a property.

System_CAPS_pubclassHttpBindRequiredAttribute

Represents the required attribute for http binding.

System_CAPS_pubclassHttpConfiguration

Represents a configuration of HttpServer instances.

System_CAPS_pubclassHttpConfigurationExtensions

Contains extension methods for the HttpConfiguration class.

System_CAPS_pubclassHttpDeleteAttribute

Specifies that an action supports the DELETE HTTP method.

System_CAPS_pubclassHttpError

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.

System_CAPS_pubclassHttpErrorKeys

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

System_CAPS_pubclassHttpGetAttribute

Specifies that an action supports the GET HTTP method.

System_CAPS_pubclassHttpHeadAttribute

Specifies that an action supports the HEAD HTTP method.

System_CAPS_pubclassHttpOptionsAttribute

Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP OPTIONS requests.

System_CAPS_pubclassHttpPatchAttribute

Specifies that an action supports the PATCH HTTP method.

System_CAPS_pubclassHttpPostAttribute

Specifies that an action supports the POST HTTP method.

System_CAPS_pubclassHttpPutAttribute

Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests.

System_CAPS_pubclassHttpResponseException

An exception that allows for a given HttpResponseMessage to be returned to the client.

System_CAPS_pubclassHttpRouteCollection

A collection of IHttpRoute instances.

System_CAPS_pubclassHttpRouteCollectionExtensions

Extension methods for HttpRouteCollection

System_CAPS_pubclassHttpServer

Defines an implementation of an HttpMessageHandler which dispatches an incoming HttpRequestMessage and creates an HttpResponseMessage as a result.

System_CAPS_pubclassNonActionAttribute

Represents an attribute that is used to indicate that a controller method is not an action method.

System_CAPS_pubclassODataHttpConfigurationExtensions

Provides extension methods for the HttpConfiguration class.

System_CAPS_pubclassODataHttpErrorExtensions

Provides extension methods for the HttpError class.

System_CAPS_pubclassODataHttpRouteCollectionExtensions

Provides extension methods for the HttpRouteCollection class.

System_CAPS_pubclassODataMediaTypeFormatterCollectionExtensions

Provides extension methods for the MediaTypeFormatterCollection class.

System_CAPS_pubclassODataUrlHelperExtensions

Provides extension methods for the UrlHelper class.

System_CAPS_pubclassOverrideActionFiltersAttribute

Represents a filter attribute that overrides action filters defined at a higher level.

System_CAPS_pubclassOverrideAuthenticationAttribute

Represents a filter attribute that overrides authentication filters defined at a higher level.

System_CAPS_pubclassOverrideAuthorizationAttribute

Represents a filter attribute that overrides authorization filters defined at a higher level.

System_CAPS_pubclassOverrideExceptionFiltersAttribute

Represents a filter attribute that overrides exception filters defined at a higher level.

System_CAPS_pubclassOwinHttpConfigurationExtensions

Provides extension methods for the HttpConfiguration class.

System_CAPS_pubclassParameterBindingAttribute

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.

System_CAPS_pubclassQueryableAttribute

Obsolete.Enables a controller action to support OData query parameters.

System_CAPS_pubclassRouteAttribute

Place on an action to expose it directly via a route.

System_CAPS_pubclassRouteCollectionExtensions

Extension methods for RouteCollection

System_CAPS_pubclassRouteParameter

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.

System_CAPS_pubclassRoutePrefixAttribute

Annotates a controller with a route prefix that applies to all actions within the controller.

System_CAPS_pubclassServicesExtensions

Provides type-safe accessors for services obtained from a ServicesContainerobject.

System_CAPS_pubclassSingleResult

Represents an IQueryable containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace.

System_CAPS_pubclassSingleResult<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.

InterfaceDescription
System_CAPS_pubinterfaceIHttpActionResult

Defines a command that asynchronously creates an HttpResponseMessage.

EnumerationDescription
System_CAPS_pubenumIncludeErrorDetailPolicy

Specifies whether error details, such as exception messages and stack traces, should be included in error messages.

Return to top
Show: