There is no web app in the source group.And I can not find any item about this at the app services page.
CodePudding user response:
As I already shared that first we should have resource group to create app service and azure bot registration. Follow the steps below:
Resource group:
App Service:
Once you have created your resource group go create resource and search for web app See the screenshot below:
Create the
web app service. And this will be work as your botbackendservice. If you see the below screenshot you can have a lookURLwhich will be endpoint of your bot. Please copy it.
Azure Bot Registration:
Now go to Create resource once again and type Azure Bot create the bot. And then go to the configuration like below:
Note:You have copied theweb app service URLlast time. Paste thatURLinto theMessaging endpointwith addinghttps://yourAppServiceURL.azurewebsites.net/api/messagesand check theEnable Streaming Endpointand finally click onapplyup to now we are done. But still our bot doesn't know anything what it will do since it has nothing at it's backend. Next steps we will publish our sample bot code on theapp servicewe have created.
Deploy Bot Prject on app service:
From your IDE publish your bot source file. It would prompt you following page:
Select your Resource group and then select your App service then just finish.
It should be like below :
Now our Bot is good to work with.
Test On Web Chat:
Now go to your bot registration page and hit Test in Web Chat as you can see it as pro actively greeting me.
Hope above steps guided you accordingly.








