Share via


HttpConfigurationExtensions.MapBotFramework Method

Definition

Map the Bot Framework into the request execution pipeline.

public static System.Web.Http.HttpConfiguration MapBotFramework (this System.Web.Http.HttpConfiguration httpConfiguration, Action<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder> configurer = default);
static member MapBotFramework : System.Web.Http.HttpConfiguration * Action<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder> -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function MapBotFramework (httpConfiguration As HttpConfiguration, Optional configurer As Action(Of BotFrameworkConfigurationBuilder) = Nothing) As HttpConfiguration

Parameters

httpConfiguration
System.Web.Http.HttpConfiguration

The System.Web.Http.HttpConfiguration to map the bot into.

configurer
Action<BotFrameworkConfigurationBuilder>

A callback to configure the bot.

Returns

System.Web.Http.HttpConfiguration

A reference to this instance after the operation has completed.

Applies to