HttpConfigurationExtensions Class

 

Provides extension methods for the HttpConfiguration class.

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

System::Object
  System.Web.OData.Extensions::HttpConfigurationExtensions

[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class HttpConfigurationExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddODataQueryFilter(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 http://go.microsoft.com/fwlink/?LinkId=279712.

System_CAPS_pubmethodSystem_CAPS_staticAddODataQueryFilter(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 http://go.microsoft.com/fwlink/?LinkId=279712.

System_CAPS_pubmethodSystem_CAPS_staticEnableAlternateKeys(HttpConfiguration^, Boolean)

Sets the Alternate Key support for the Uri parser on the configuration.

System_CAPS_pubmethodSystem_CAPS_staticEnableCaseInsensitive(HttpConfiguration^, Boolean)

Sets the case insensitive flag for the Uri parser on the configuration. Both metadata and key words are impacted by this flag.

System_CAPS_pubmethodSystem_CAPS_staticEnableContinueOnErrorHeader(HttpConfiguration^)

Enable the continue-on-error header.

System_CAPS_pubmethodSystem_CAPS_staticEnableEnumPrefixFree(HttpConfiguration^, Boolean)

Sets the Enum prefix free flag for the Uri parser on the configuration.

System_CAPS_pubmethodSystem_CAPS_staticEnableUnqualifiedNameCall(HttpConfiguration^, Boolean)

Sets the un-qualified function and action name call flag for the Uri parser on the configuration.

System_CAPS_pubmethodSystem_CAPS_staticGetETagHandler(HttpConfiguration^)

Gets the IETagHandler from the configuration.

System_CAPS_pubmethodSystem_CAPS_staticGetTimeZoneInfo(HttpConfiguration^)

Gets the TimeZoneInfo from the configuration.

System_CAPS_pubmethodSystem_CAPS_staticMapODataServiceRoute(HttpConfiguration^, String^, String^, IEdmModel^)

Maps the specified OData route and the OData route attributes.

System_CAPS_pubmethodSystem_CAPS_staticMapODataServiceRoute(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.

System_CAPS_pubmethodSystem_CAPS_staticMapODataServiceRoute(HttpConfiguration^, String^, String^, IEdmModel^, IODataPathHandler^, IEnumerable<IODataRoutingConvention^>^)

Maps the specified OData route.

System_CAPS_pubmethodSystem_CAPS_staticMapODataServiceRoute(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.

System_CAPS_pubmethodSystem_CAPS_staticMapODataServiceRoute(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.

System_CAPS_pubmethodSystem_CAPS_staticMapODataServiceRoute(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.

System_CAPS_pubmethodSystem_CAPS_staticSetETagHandler(HttpConfiguration^, IETagHandler^)

Sets the IETagHandler on the configuration.

System_CAPS_pubmethodSystem_CAPS_staticSetTimeZoneInfo(HttpConfiguration^, TimeZoneInfo^)

Sets the TimeZoneInfo on the configuration.

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

Return to top
Show: