Share via


ODataHttpConfigurationExtensions Class

 

Provides extension methods for the HttpConfiguration class.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.ODataHttpConfigurationExtensions

Syntax

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

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static EnableQuerySupport(HttpConfiguration)

Obsolete.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 EnableQuerySupport(HttpConfiguration, IActionFilter)

Obsolete.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.

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 Namespace

Return to top