Author: Vladimir Pecanac

Interview with Troy Hunt

So, we’ve had a unique opportunity and a great pleasure to talk to one of the topmost authorities on developer security in the world, both a Microsoft Regional Director and MVP for Developer Security, Troy Hunt. Troy made some time between playing tennis with his son and writing the newest blog post to share some thoughts about his life, Australia, tourist-eating crocodiles, password security and his experience of speaking in front of American Congress among other things. You won’t find too much technical information in this interview, but you’ll maybe learn more about the other side of Troy Hunt and...

Read More

Dockerizing ASP.NET Core Application With Dockerfiles

In the previous part, we’ve gone through some scenarios to show off the Docker’s potential. We have also seen how to utilize Docker CLI and even made the simplest Dockerfiles to learn how to build the images using Docker. In this article, we are going to focus on dockerizing our ASP.NET Core application with Dockerfiles, and understanding how Dockerfile syntax works. We are also going to spend some effort in optimizing our images to achieve the best results. How to Prepare an ASP.NET Core Project for Dockerization Why Docker: Docker CLI Through Examples Dockerizing ASP.NET Core Application with Dockerfiles...

Read More

Why Docker: The Docker CLI Through Examples

Now that we have prepared our ASP.NET Core application, we are going to learn how to install and use Docker on Windows 10, the reasons behind using Docker, and some useful Docker CLI commands. Understanding how the Docker CLI works is crucial, and you’ll most definitely have a hard time proceeding to the next part without getting a grasp of the basic commands Docker offers through its powerful CLI. How to Prepare an ASP.NET Core Project for Dockerization Why Docker: Docker CLI Through Examples (Current article) Dockerizing ASP.NET Core Application with Dockerfiles Adding MySQL to ASP.NET Core App With...

Read More

How to Prepare an ASP.NET Core Application for Dockerization

In this part, we are going to apply some modifications to our ASP.NET Core application in order to prepare it for the dockerization process. To follow along with this part you need .NET Core 2.0, Git, an IDE of your choice, and Docker. How to Prepare an ASP.NET Core Project for Dockerization (Current article) Why Docker: Docker CLI Through Examples Dockerizing ASP.NET Core Application with Dockerfiles Adding MySQL to ASP.NET Core App With Docker Compose Docker Hub vs Creating a Local Docker Registry Preparing a Continuous Integration Environment for Docker Continuous Integration with TeamCity and Docker Continuous Integration with...

Read More

How to Implement Content Negotiation in ASP.NET Core Web API

Content negotiation is one of those quality-of-life improvements you can add to your REST API to make it more user-friendly and flexible. And when we design an API, isn’t that what we want to achieve in the first place? There are many things to keep in mind when designing a REST API and we’ve written recently about it in our Top REST API best practices article. Content negotiation is an HTTP feature which has been around for a while, but for one reason or another, it is, maybe, a bit underused. In short, content negotiation lets you choose or rather “negotiate”...

Read More