ApplicationBuilderExtensions ApplicationBuilderExtensions ApplicationBuilderExtensions Class

Definition

Extension methods for IApplicationBuilder to add a Bot to the ASP.NET Core request execution pipeline.

public static class ApplicationBuilderExtensions
type ApplicationBuilderExtensions = class
Public Module ApplicationBuilderExtensions
Inheritance
ApplicationBuilderExtensionsApplicationBuilderExtensionsApplicationBuilderExtensions

Methods

UseBotFramework(IApplicationBuilder) UseBotFramework(IApplicationBuilder) UseBotFramework(IApplicationBuilder)

Maps various endpoint handlers for the AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>) into the request execution pipeline.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseBotFramework (this Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder);
static member UseBotFramework : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseBotFramework (applicationBuilder As IApplicationBuilder) As IApplicationBuilder
Parameters
Returns

A reference to this instance after the operation has completed.

Remarks

This maps the bot using a default set of endpoints. To control the exact paths you would prefer the bot's endpoints to be exposed at, use the UseBotFramwork(IApplicationBuilder, Action<BotFrameworkPaths>) overload instead.

UseBotFramework(IApplicationBuilder, Action) UseBotFramework(IApplicationBuilder, Action) UseBotFramework(IApplicationBuilder, Action)

Maps various endpoint handlers for the AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>) into the request execution pipeline.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseBotFramework (this Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Action<Microsoft.Bot.Builder.Integration.AspNet.Core.BotFrameworkPaths> configurePaths);
static member UseBotFramework : Microsoft.AspNetCore.Builder.IApplicationBuilder * Action<Microsoft.Bot.Builder.Integration.AspNet.Core.BotFrameworkPaths> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseBotFramework (applicationBuilder As IApplicationBuilder, configurePaths As Action(Of BotFrameworkPaths)) As IApplicationBuilder
Parameters
configurePaths
Action<BotFrameworkPaths>

A callback to configure the paths that determine where the endpoints of the bot will be exposed.

Returns

A reference to this instance after the operation has completed.

See Also

Applies to

See Also