0
votes

I would like to understand what Azure does while creating a Web App Bot in Portal.

An Azure Bot Service Bot deployed to an Azure App Service Web App...

After creating a bot with Azure Bot Service i got the following ressources:

enter image description here

What's the difference or the connection between the resources (Web App Bot and App Service)?

The code should be located in Web App Bot right? Here the magic happens, development, channels, etc.

The user is interacting with the App Service throw an HTTP call. What happens if App Service receives the call?

And why I could configure CD on the App Service instead of Web App Bot?

From my understanding, the Web App Bot is the "locale" Bot I'm publishing to App Service to make him available?

Can anyone help me out to get a clear understanding?

2

2 Answers

2
votes

Let us break down the different components involved.

The Web Bot (which is a web application) needs a web site to be deployed to. That is the App Service. That web site needs a web server to run on. That is the App Service Plan.

The Web Bot is the main part which you configure. The other components are infrastructure components and you don't need to worry about them much.

2
votes

Your bot is actually an API, which will be hosted on App Service. So in case your bot receives many requests, You'll scale App Service to handle that.

Web App Bot is where you enable and configure the channels your bot will work with (e.g. Direct Line for voice)