Decoupling Request Handlers for a Slack.NetStandard ChatBot
When working on the bot-zero-sharp project, we had the need to decouple the request handler and the creation of the chatbot. We like our request handlers to be automatically detected and added to our pipeline. In this article we’ll discuss how we use background services to create a chatbot that uses dependency injection.