Programming the Microsoft Bot Framework: A Multiplatform Approach to Building Chatbots
by Joe Mayo
CHAPTER 6. Using FormFlow
In Chapter 5, you learned how to manage conversations with basic dialogs, IDialog<T>. This chapter continues the dialog discussion by introducing a different type of dialog, FormFlow. With an IDialog<T> dialog, you specify the flow of a conversation through a chain of methods where each method accepts an answer from its antecedent, and then asks another question until you’re finally at the end of the conversation. A FormFlow dialog is different, because rather than procedural logic, it’s more declarative. Essentially, you specify what you want the conversation to be, rather than how to perform the conversation.
To support the declarative nature of a FormFlow dialog, this chapter starts with the basics of how to create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access