Bot Framework, Dialogs and Dependency Injection

Bot Framework internally uses Autofac for dependency injection. If you take a close look at SDK, the top level composition root class Conversation provides a static instance of Autofac’s IContainer. I have highlighted the code snipped from Microsoft’s BotBuilder repository for curious mind in you. Head over to Conversation.cs. This makes it possible for a Bot Builder to register and resolve components. We can seamlessly integrate our own registration module for Autofac…

Manage user and conversation data with BotDataStore in Bot Framework

I have been using Bot State management APIs for quite a long now. While the default service proved to be perfectly good for “my bot’s usage”. It indeed was slow and data privacy was always a concern for others. Default state service is used to store and retrieve user or conversational data within conversation context. Bot Framework is continuously being evolved over the period of past few months. To improve…

Build Jekyll site, deploy to Firebase with Travis CI

Jekyll and Github pages, a match made in heaven I had a very old unused domain name lying around and I did not really know what to do with it. I didn’t want to spend money on hosting just for hosting a site which will not be updated / changed that frequently. For some reason, I wanted it to be a static website with a little power to it. Jekyll was…

Improve Angular CLI build speed on Windows

This article was published in 2016 when Angular CLI was relatively new. It has become very robust and fast now. I have recently started exploring Angular 2 territory. I was not a big fan of typescript earlier but after spending a week or more on it, I must say, I have found it to be freaking good. After writing couple of small applications from ground zero and getting enough knowledge…