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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 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.
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.
Using a custom web.config for Node apps: https://github.com/projectkudu/kudu/wiki/Using-a-custom-web.config-for-Node-apps
- 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.
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
Rights and permissions
Copyright information
© 2018 Szymon Rozga
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-3540-9_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3539-3
Online ISBN: 978-1-4842-3540-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)