Reusable State Bot Template for Microsoft Bot Framework

If you are trying to build a State Bot or any bot which has states, then this template might help you make your job easier. I created this template by going through one of the tutorial series on the Managing States.

Prerequisites

  1. Visual Studio

Visual Studio link is available in the downloads page.

Template

I first picked up the Bot Framework template. In that, I selected the Core Bot (.Net Core 3.1). With this core bot template, I modified the code to have the states in our bot.

Following states are instantiated –

  1. User State
  2. Conversation State
  3. Dialog State

You can find the complete code at the GitHub repository.

Thank you All!!! Hope you find this useful.


Leave a Reply

Up ↑

Discover more from JD Bots

Subscribe now to keep reading and get access to the full archive.

Continue reading