Skip to main content

Introducing the Microsoft Bot Framework

  • Chapter
  • First Online:
Practical Bot Development
  • 1763 Accesses

Abstract

Microsoft’s Bot Builder SDK comes in two flavors: C# and Node.js. As mentioned in Chapter 1, for the purposes of this book, we are going with the Node.js version. Node.js is a cross-platform JavaScript runtime; the fact that it is cross platform and based on a low barrier of entry language such as JavaScript means we can more easily show how easy it is to build bots using the technology. We stay within the confines of EcmaScript6; however, Bot Framework bots can be built using just about any flavor of JavaScript. The Bot Builder framework itself is written in TypeScript, a superset of JavaScript that includes optional static typing and can be compiled into JavaScript.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    There are a few different linter options for JavaScript, namely, ESLint, JSLint, and JSHint. ESLint is one of the more extensible and powerful options. See https://eslint.org/ .

  2. 2.

    Internet Information Services (IIS) is Microsoft’s rich and extensible web server. It runs all Azure Windows web apps. See https://www.iis.net/ .

  3. 3.

    Using a custom web.config for Node apps: https://github.com/projectkudu/kudu/wiki/Using-a-custom-web.config-for-Node-apps

  4. 4.

    Kudu is the engine behind Azure web site deployment. It can also run outside of Azure. See https://github.com/projectkudu/kudu/wiki .

  5. 5.

    Debugging Node.js applications: https://nodejs.org/en/docs/guides/debugging-getting-started/ . A rich IDE like VS Code makes it really easy: https://code.visualstudio.com/docs/nodejs/nodejs-debugging

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Szymon Rozga

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Rozga, S. (2018). Introducing the Microsoft Bot Framework. In: Practical Bot Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3540-9_5

Download citation

Publish with us

Policies and ethics