Step by step: ASP.NET Core on Docker

This week I have to give an introductory talk on DevOps and Docker and therefore I decided to prepare a simple Step by step: ASP.NET Core on Docker sample. Assuming you have Docker installed and running, follow these 4 simple steps: Create a dockerfile On your Docker box create a dockerfile with the following contents...

Step by step: Serilog with ASP.NET Core

NOTE: This post is out of date. Please read: Updated Step by step: Serilog with ASP.NET Core for an update. Last week I wrote about .NET Core and Microsoft Bot Framework and I’m still learning and playing with it. The thing is that once I implemented more features and deployed the bot to Azure it didn’t work. So I had...

.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....

Add Swagger to your .NET Core Web API

Last week .NET Core was released, and the first thing I tried to solve was how to Add Swagger to your .NET Core Web API: Dependencies At the time of writing you should add the following dependency to your project.json file 1 "Swashbuckle": "6.0.0-beta901" Using statement In your Startup class add the following using...

Remove RavenDb's API from Swagger

I’ve been working on a small IoT project where we expose a simple REST API and use RavenDB Embedded as the database. Once we enabled Swagger on our project we noticed that the generated documentation was not only showing our API but those exposed by RavenDB too. So the question came up: how can we Remove RavenDb’s API...