HttpConfiguration Class
Configuration of HttpServer instances.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
The HttpConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpConfiguration() | Initializes a new instance of the HttpConfiguration class. |
![]() | HttpConfiguration(HttpRouteCollection) | Initializes a new instance of the HttpConfiguration class with an HTTP route collection. |
| Name | Description | |
|---|---|---|
![]() | DependencyResolver | Gets or sets the dependency resolver associated with thisinstance. |
![]() | Filters | Gets the list of filters that apply to all requests served using this HttpConfiguration instance. |
![]() | Formatters | Gets the media-type formatters for this instance. |
![]() | IncludeErrorDetailPolicy | Gets or sets a value indicating whether error details should be included in error messages. |
![]() | Initializer | Gets or sets the action that will perform final initialization of the HttpConfiguration instance before it is used to process requests. |
![]() | MessageHandlers | Gets an ordered list of DelegatingHandler instances to be invoked as an HttpRequestMessage travels up the stack and an HttpResponseMessage travels down in stack in return. |
![]() | ParameterBindingRules | The collection of rules for how parameters should be bound. |
![]() | Properties | Gets the properties associated with this instance. |
![]() | Routes | Gets the HttpRouteCollection associated with this HttpConfiguration instance. |
![]() | Services | Gets the container of default services associated with this instance. |
![]() | VirtualPathRoot | Gets the root virtual path. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | BindParameter | Register that the given parameter type on an Action is to be bound using the model binder. (Defined by HttpConfigurationExtensions.) |
