Step by step: .NET Core, Azure Service Bus and AMQP

Today I’ll show you how to create a small console application with a Step by step: .NET Core, Azure Service Bus and AMQP example. First be aware of the following prerequisites: You will also need an Azure Service Bus namespace, topic and subscription with the correct set of credentials. (Start here: How to use Service...

Step by step: .NET Core and Entity Framework Core

Today I’ll show you how to create a small console application with a Step by step: .NET Core and Entity Framework Core example. First be aware of the following prerequisites: Now let’s start: 1. Create a folder for your new project# Open a command promt an run 1mkdir efcore 2. Create the project# 1cd efcore 2dotnet new...

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: 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 the following...

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