HttpConfiguration Methods

 

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Methods

Name Description
System_CAPS_pubmethod Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.

System_CAPS_pubmethod EnsureInitialized()

Invoke the Intializer hook. It is considered immutable from this point forward. It's safe to call this multiple times.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod BindParameter(Type, IModelBinder)

(Defined by HttpConfigurationExtensions.)

System_CAPS_pubmethod EnableCors()

Overloaded. Enables the support for CORS.(Defined by CorsHttpConfigurationExtensions.)

System_CAPS_pubmethod EnableCors(ICorsPolicyProvider)

Overloaded. Enables the support for CORS.(Defined by CorsHttpConfigurationExtensions.)

System_CAPS_pubmethod GetCorsEngine()

Gets the ICorsEngine from the HttpConfiguration.(Defined by CorsHttpConfigurationExtensions.)

System_CAPS_pubmethod GetCorsPolicyProviderFactory()

Gets the ICorsPolicyProviderFactory from the HttpConfiguration.(Defined by CorsHttpConfigurationExtensions.)

System_CAPS_pubmethod MapHttpAttributeRoutes()

Overloaded. (Defined by HttpConfigurationExtensions.)

System_CAPS_pubmethod MapHttpAttributeRoutes(IDirectRouteProvider)

Overloaded. Maps the attribute-defined routes for the application.(Defined by HttpConfigurationExtensions.)

System_CAPS_pubmethod MapHttpAttributeRoutes(IInlineConstraintResolver)

Overloaded. Maps the attribute-defined routes for the application.(Defined by HttpConfigurationExtensions.)

System_CAPS_pubmethod MapHttpAttributeRoutes(IInlineConstraintResolver, IDirectRouteProvider)

Overloaded. Maps the attribute-defined routes for the application.(Defined by HttpConfigurationExtensions.)

System_CAPS_pubmethod SetCorsEngine(ICorsEngine)

Sets the ICorsEngine on the HttpConfiguration.(Defined by CorsHttpConfigurationExtensions.)

System_CAPS_pubmethod SetCorsPolicyProviderFactory(ICorsPolicyProviderFactory)

Sets the ICorsPolicyProviderFactory on the HttpConfiguration.(Defined by CorsHttpConfigurationExtensions.)

System_CAPS_pubmethod SuppressHostPrincipal()

(Defined by HttpConfigurationExtensions.)

See Also

HttpConfiguration Class
System.Web.Http Namespace

Return to top