O'Reilly logo

Programming the Microsoft Bot Framework: A Multiplatform Approach to Building Chatbots by Joe Mayo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required