WebApiConfigRegister Method |
Registers the specified routes for Web API (default routing).
Namespace:
Dundas.BI.WebApi
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxpublic static void Register(
HttpConfiguration config
)
Public Shared Sub Register (
config As HttpConfiguration
)
public:
static void Register(
HttpConfiguration^ config
)
static member Register :
config : HttpConfiguration -> unit
Parameters
- config
- Type: HttpConfiguration
The configuration for routes.
Remarks
This method adds a StringEnumConverter to the Converters in order to properly
serialize for the JavaScript API. This may cause unintended results, as this setting is global to the
configuration hosting it.
See Also