Creating and Deploying Express Web App on Azure in few steps

In this post we will see how can we setup an express web application and how to deploy an node.js based express web application. Step 1: Creating an web application in express. To create a express application skeleton we need to install express generator from npm: Check available option while creating an express app: After … Continue reading Creating and Deploying Express Web App on Azure in few steps

Advertisements

Is developing bots using Microsoft Bot Framework without Azure possible?

Microsoft provides its Bot framework to build smart chat bots. It provides the Bot Builder SDK in two languages i.e Node.js and C#. Azure provides us the setup of developing the web app bot on cloud with integrated web-chat channel and integrated online VScode editor. The bot on Azure is deployed on Azure Web server … Continue reading Is developing bots using Microsoft Bot Framework without Azure possible?

Sending a Payload with custom message in bot framework Direct line API

To have more control over the text formatting of your messages, you can create a custom messageobject and set the properties necessary before sending it to the user. But how can we send a payload i.e extra information through the custom message? The extra information can be useful at client side when using the Direct line … Continue reading Sending a Payload with custom message in bot framework Direct line API

DirectLineAPI – Testing with custom client and POSTMAN – Microsoft Bot Framework

Direct Line API is used enable communication between your bot and your own client application. This post will show you how can we use the direct line API of our BOT to start a conversation and also how to exchange Activities. We are using the Microsoft Sample bot example of Notes Bot. The below pic show … Continue reading DirectLineAPI – Testing with custom client and POSTMAN – Microsoft Bot Framework

How to change height and width of an iFrame in Atlassian-Connect-Express -JIRA Add-on? Solved!

JIRA Add-on's are designed to add extra functionality into JIRA. JIRA provides a descriptor file through which you can create, configure and customize the UI elements in the JIRA. Most of the UI elements like "general pages" are in the for an iframe whose height and width are set in the in-built css and javascript … Continue reading How to change height and width of an iFrame in Atlassian-Connect-Express -JIRA Add-on? Solved!

Learning about LUIS and Consuming LUIS API in node.js

LUIS is Language Understanding Intelligent Service from Microsoft, as part of Azure Cognitive Services. Several Microsoft technologies work with LUIS: Bot Framework allows a chat bot to talk with a user via text input. Bing Speech API converts spoken language requests into text. Once converted to text, LUIS processes the requests. LUIS allows us to create an … Continue reading Learning about LUIS and Consuming LUIS API in node.js

How to use Timers in Node.js?

If you want to execute after set period of time, timers are used for that. Timers are globally available in node.js. Check official documentation here. Three types of timers are: setTimeout() setImmediate() setInterval(); setTimeout() - "When I say so!" used for scheduling execution of code after set of milliseconds. accepts set of arguments - first arg. … Continue reading How to use Timers in Node.js?

Asynchronous call to a REST API using Node.js and using the Promises.

There is nothing new about sending a request to a REST API and fetching a response. In this blog we will show how can we make an asynchronous call to a API, which means your node.js code will be able to perform other operations while it requests sent to an API fetched the response. What … Continue reading Asynchronous call to a REST API using Node.js and using the Promises.

Microsoft Bot Framework: How to validate user response to bot Prompts?

Microsoft Bot Framework has multiple prompts to get user response while having the conversation such as Prompts.text, Prompts.number, Prompts.Choice, Prompts.confirm But there is automatic validation for number, choice and confirm prompt. For example if the user responds with wrong choice then the chat bot will re-prompt the choices and ask yo to select again. Check documentation here. This post … Continue reading Microsoft Bot Framework: How to validate user response to bot Prompts?