IConfigBuilder.ConfigureWebApi Method (HttpConfiguration, IDictionary(Of 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)

Sub ConfigureWebApi (
	config As HttpConfiguration,
	serviceInstances As IDictionary(Of Type, Object)
)

Parameters

config
Type: System.Web.Http.HttpConfiguration

The current HttpConfiguration instance.

serviceInstances
Type: System.Collections.Generic.IDictionary(Of Type, Object)

A set of infrastructure service instances which must be registered with the dependency injection engine.

Return to top
Show: