Local development means running the Sample on ‘your’ workstation for development and debugging purposes.
Local development begins with utilizing the Bot Framework Emulator and Visual Studio on your workstation to build and run your Agent while debugging from Visual Studio.
If you do not wish to configure authentication at this time, Skip to “Running an Agent for the first time”.
There are two ways to support local development, depending on what your working with.
- Anonymous or No-Authentication
While this is the simplest way to get started and run your Agent, there are important limitations to consider.
When running in Anonymous mode, your Agent will not be able to create authentication tokens to access other services, Nor can it interact with Azure Bot Services. Therefor, Anonymous Mode is there to support testing basic operational features of the Agent and to work with and test various events that your Agent can process. It should be used only during initial development.
A sample is configured, by default, for Anonymous Authentication. Before using this sample with Azure Bot Service, it is necessary to configure authentication.
- Configured Authentication with Entra ID.
Configuring authentication for your Agent will allow it to communicate with Azure Bot Services and create access tokens for other services.
However there are a few key items to consider when configuring authentication for your Agent.
To run the Bot1 Sample for the first time:
https://localhost:65349/
https://localhost:65349/api/messages