Archive for the Docker category

Vaughan

Using the swagger-codegen-cli Docker image to generate c# classes from a swagger api

Docker, Swagger

Not everyone knows that swagger gives you more than just a nice UI to expose your APIs. It actually exposes a JSON endpoint that defines your API. Tools like swagger codegen can use that endpoint to create a complete consuming project in an array of programming languages. Its a bit of a pain to install […]

Read more
Vaughan

ASP.NET Core configuration in Docker containers

.NET Core, Docker

In the old days of .NET applications we had a simple xml configuration file that would ship with each environment. This was tried and tested and was well understood. Then came Docker. The promise was that I could build a container on my machine and then ship that exact container to production. This is great […]

Read more
Vaughan

Docker with certificates

Docker

Sometimes when connecting to internal systems you need trusted certificates to be able to authenticate. Generally the base docker image you use when running ASP.NET core applications would not have your internal company certificates. You need a way to deploy these in your container so that your endpoints work. One way that you could do […]

Read more

BMC logoBuy me a coffee