38. 1 2 3
Conversation Channels
Skype
Facebook Message
Web Chat
Slack
Cortana
Bot Connector Service
Send/receive messages
Microsoft Cognitive
Service / LUIS
Bot Web Service
Your ChatBot Core Logic
#Azure Web APP
Bot framework
04
39. 1 2 3
Bot framework
04
Bot Web Service
• Visual Studio 2017 (Community )
• Project Template (http://aka.ms/bf-bc-vstemplate)
• Copy Project Template *.zip file to %USERPROFILE%DocumentsVisual Studio
2017TemplatesProjectTemplatesVisual C#
%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#
40. 1 2 3
Bot framework
04
Bot Web Service
%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#
• create a new C# project
• Bot Application template
• Update Microsoft.Bot.Builder
41. 1 2 3
Bot framework
04
Bot Web Service
%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#
• install bot emulator (https://emulator.botframework.com/)
• Start your bot
• Connect bot emulator to
http://localhost:port-number/api/messages
42. 1 2 3
Bot framework
04
%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#
• Crate a bot
(https://dev.botframework.com/)
Bot Connector
43. 1 2 3
Bot framework
04
%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#
• Bot handle (Used in the URL for your bot)
• Messaging endpoint (your bot web service url)
• Create Microsoft App ID and password
Bot Connector
44. 1 2 3
Bot framework
04
%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#
• Publish Your bot Service to Azure Web
• Configuration Messaging endpoint
https://your_bots_hostname/api/messages
• Test bot connector
Bot Connector