HttpConfigurationExtensions Class
Provides extension methods for the HttpConfiguration class.
Namespace: System.Web.OData.Extensions
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.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 | |
---|---|---|
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. |
|
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. |
|
EnableAlternateKeys(HttpConfiguration, Boolean) | Sets the Alternate Key support for the Uri parser on the configuration. |
|
EnableCaseInsensitive(HttpConfiguration, Boolean) | Sets the case insensitive flag for the Uri parser on the configuration. Both metadata and key words are impacted by this flag. |
|
EnableContinueOnErrorHeader(HttpConfiguration) | Enable the continue-on-error header. |
|
EnableEnumPrefixFree(HttpConfiguration, Boolean) | Sets the Enum prefix free flag for the Uri parser on the configuration. |
|
EnableUnqualifiedNameCall(HttpConfiguration, Boolean) | Sets the un-qualified function and action name call flag for the Uri parser on the configuration. |
|
GetETagHandler(HttpConfiguration) | Gets the IETagHandler from the configuration. |
|
GetTimeZoneInfo(HttpConfiguration) | Gets the TimeZoneInfo from the configuration. |
|
MapODataServiceRoute(HttpConfiguration, String, String, IEdmModel) | Maps the specified OData route and the OData route attributes. |
|
MapODataServiceRoute(HttpConfiguration, String, String, IEdmModel, HttpMessageHandler) | Maps the specified OData route and the OData route attributes. When the defaultHandler is non-null, it will map it as the default handler for the route. |
|
MapODataServiceRoute(HttpConfiguration, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>) | Maps the specified OData route. |
|
MapODataServiceRoute(HttpConfiguration, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>, HttpMessageHandler) | Maps the specified OData route. When the defaultHandler is non-null, it will map it as the handler for the route. |
|
MapODataServiceRoute(HttpConfiguration, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>, ODataBatchHandler) | Maps the specified OData route. When the batchHandler is non-null, it will create a '$batch' endpoint to handle the batch requests. |
|
MapODataServiceRoute(HttpConfiguration, String, String, IEdmModel, ODataBatchHandler) | Maps the specified OData route and the OData route attributes. When the batchHandler is non-null, it will create a '$batch' endpoint to handle the batch requests. |
|
SetETagHandler(HttpConfiguration, IETagHandler) | Sets the IETagHandler on the configuration. |
|
SetTimeZoneInfo(HttpConfiguration, TimeZoneInfo) | Sets the TimeZoneInfo 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.OData.Extensions Namespace
Return to top