This sample creates a complex conversation with dialogs and ASP.Net Core 2.
- Clone the samples repository
git clone https://github.com/Microsoft/BotFramework-Samples.git
- [Optional] Update the
appsettings.json
file underBotFramework-Samples/SDKV4-Samples/dotnet_core/ComplexDialogBot/
with your botFileSecret. For Azure Bot Service bots, you can find the botFileSecret under application settings.
- Navigate to the samples folder (
BotFramework-Samples/SDKV4-Samples/dotnet_core/ComplexDialogBot/
) and open ComplexDialogBot.csproj in Visual Studio. - Run the project (press
F5
key).
- Install the .NET Core CLI tools.
- Using the command line, navigate to
BotFramework-Samples/SDKV4-Samples/dotnet_core/ComplexDialogBot/
folder. - Type
dotnet run
.
Microsoft Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework emulator from here.
- Launch the Bot Framework Emulator.
- File -> Open bot and navigate to
BotFramework-Samples/SDKV4-Samples/dotnet_core/ComplexDialogBot
folder. - Select
complex-dialog.bot
file.