HttpConfiguration Class
Represents a configuration of HttpServer instances.
Assembly: System.Web.Http (in System.Web.Http.dll)
| 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 | Gets 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. |
![]() | EnsureInitialized() | Invoke the Intializer hook. It is considered immutable from this point forward. It's safe to call this multiple times. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)