.NET Core and Microsoft Bot Framework

Today I’ll show you how to create a simple Skype bot that will reply with the same text message you send to it.

You’ll be using .Net Core and Microsoft Bot Framework. As you already know not every library has been ported to .Net Core so you’ll have to use the Microsoft Bot Connector API – v3.0 to bring the bot to life.

Let me show you what it takes to create a simple bot:

1. Register the bot
2. Create a new .NET Core Web the project
3. Add the following dependencies to your project.json file
4. Add the following section to your appsettings.json file
5. Replace the ConfigureServices in you Startup class
6. Create a BotCredentials class
7. Create TokenResponse class
8. Create a MessagesController class
9. Deploy your bot and add it to your skype
10. Talk to your bot

You can get the code here: https://github.com/cmendible/dotnetcore.samples/tree/master/echobot

Hope it helps!

5 thoughts on “.NET Core and Microsoft Bot Framework

Leave a Reply

Your email address will not be published. Required fields are marked *