Share via


HttpConfigurationExtensions Class

 

Provides extension methods for the HttpConfiguration class.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Extensions.HttpConfigurationExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class HttpConfigurationExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class HttpConfigurationExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type HttpConfigurationExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class HttpConfigurationExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static AddODataQueryFilter(HttpConfiguration)

Enables query support for actions with an IQueryable or IQueryable<T> return type. To avoid processing unexpected or malicious queries, use the validation settings on EnableQueryAttribute to validate incoming queries. For more information, visit https://go.microsoft.com/fwlink/?LinkId=279712.

System_CAPS_pubmethodSystem_CAPS_static AddODataQueryFilter(HttpConfiguration, IActionFilter)

Enables query support for actions with an IQueryable or IQueryable<T> return type. To avoid processing unexpected or malicious queries, use the validation settings on EnableQueryAttribute to validate incoming queries. For more information, visit https://go.microsoft.com/fwlink/?LinkId=279712.

System_CAPS_pubmethodSystem_CAPS_static GetETagHandler(HttpConfiguration)

Gets the IETagHandler from the configuration.

System_CAPS_pubmethodSystem_CAPS_static SetETagHandler(HttpConfiguration, IETagHandler)

Sets the IETagHandler on the configuration.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Extensions Namespace

Return to top