Step by step: ASP.NET Core on Docker

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

Step by step: Serilog with ASP.NET Core

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 Frameworkand 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 …

.NET Core and Microsoft Bot Framework

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

Add Swagger to your .NET Core Web API

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

Remove RavenDb's API from Swagger

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 Swaggeron 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 …