HttpSelfHostConfiguration Class
Contains the configuration class for HTTP Services.
Assembly: System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
| Name | Description | |
|---|---|---|
![]() | HttpSelfHostConfiguration(String) | Initializes a new instance of the HttpSelfHostConfiguration class. |
![]() | HttpSelfHostConfiguration(Uri) | Initializes a new instance of the HttpSelfHostConfiguration class. |
| Name | Description | |
|---|---|---|
![]() | BaseAddress | Gets the base HTTP address. |
![]() | ClientCredentialType | Gets or sets the client credential type that the server expects. |
![]() | DependencyResolver | Gets or sets the dependency resolver associated with thisinstance.(Inherited from HttpConfiguration.) |
![]() | Filters | Gets the list of filters that apply to all requests served using this HttpConfiguration instance.(Inherited from HttpConfiguration.) |
![]() | Formatters | Gets the media-type formatters for this instance.(Inherited from HttpConfiguration.) |
![]() | HostNameComparisonMode | Gets a value that specifies how the host name should be used in URI comparisons when dispatching an incoming message. |
![]() | IncludeErrorDetailPolicy | Gets or sets a value indicating whether error details should be included in error messages.(Inherited from HttpConfiguration.) |
![]() | Initializer | Gets or sets the action that will perform final initialization of the HttpConfiguration instance before it is used to process requests. (Inherited from HttpConfiguration.) |
![]() | MaxBufferSize | Gets or sets the maximum size of the buffer. |
![]() | MaxConcurrentRequests | Gets or sets the upper limit of concurrent HttpRequestMessage instances that can be processed at any given time. The default is 100 times the number of CPU cores. |
![]() | MaxReceivedMessageSize | Gets or sets the maximum size of the received message. |
![]() | 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. (Inherited from HttpConfiguration.) |
![]() | ParameterBindingRules | Gets the collection of rules for how parameters should be bound.(Inherited from HttpConfiguration.) |
![]() | Properties | Gets the properties associated with this instance.(Inherited from HttpConfiguration.) |
![]() | ReceiveTimeout | Gets or sets the receive timeout. |
![]() | Routes | Gets the HttpRouteCollection associated with this HttpConfiguration instance.(Inherited from HttpConfiguration.) |
![]() | SendTimeout | Gets or sets the send timeout. |
![]() | Services | Gets the container of default services associated with this instance.(Inherited from HttpConfiguration.) |
![]() | TransferMode | Gets or sets the transfer mode. |
![]() | UserNamePasswordValidator | Gets or sets the UserNamePasswordValidator that is used to validate the username and password sent over HTTP or HTTPS. |
![]() | VirtualPathRoot | Gets the root virtual path.(Inherited from HttpConfiguration.) |
![]() | X509CertificateValidator | Gets or sets the X509CertificateValidatorinstance that will be used to validate the client certificate sent over HTTPS. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from HttpConfiguration.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.(Inherited from HttpConfiguration.) |
![]() | EnsureInitialized() | Invoke the Intializer hook. It is considered immutable from this point forward. It's safe to call this multiple times.(Inherited from HttpConfiguration.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnConfigureBinding(HttpBinding) | Called to apply the configuration on the endpoint level. |
![]() | 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.


