Share via


IConfigBuilder.ConfigureWebApi Method (HttpConfiguration, IDictionary<Type, Object>)

 

This step is called as part of configuring ASP.NET Web API. It is passed the config which it can modify in place and a set of serviceInstances infrastructure services which the service depends on. These infrastructure services must be registered with the dependency resolver so that the runtime can obtain them at runtime.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Config
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

void ConfigureWebApi(
    HttpConfiguration config,
    IDictionary<Type, object> serviceInstances
)
void ConfigureWebApi(
    HttpConfiguration^ config,
    IDictionary<Type^, Object^>^ serviceInstances
)
abstract ConfigureWebApi : 
        config:HttpConfiguration *
        serviceInstances:IDictionary<Type, Object> -> unit
Sub ConfigureWebApi (
    config As HttpConfiguration,
    serviceInstances As IDictionary(Of Type, Object)
)

Parameters

See Also

IConfigBuilder Interface
Microsoft.WindowsAzure.Mobile.Service.Config Namespace

Return to top