Author: Vladimir Pecanac

Securing TeamCity on Windows with Let’s Encrypt

TeamCity is currently one of the best build servers out there. It works exclusively on-premises and that means it requires it’s own machine to run on. That is great for companies and individuals that want to have the full control of their resources and JetBrains has made the installation as easy as possible. We are going to assume that you’ve already installed TeamCity on your machine and one build agent on a different machine (best practice). If you haven’t yet you can download TeamCity and start working with it immediately since it is free for 3 build agents and...

Read More

Advanced C# – Dynamic Type

Dynamic type has been added to C# since C# 4.0 (.NET 4.5) and its main purpose is to bypass the static type checks and add more flexibility to the language. In this article, we are going to go through the basic concepts of dynamic type, learn how it works and what we can do with it. To follow along with this article, you can find the source code on Dynamic Type in C# GitHub repo. So here’s exactly what we are going to learn: Static vs Dynamic Languages Advantages of Static and Dynamic Languages What is Dynamic Type in C#...

Read More

Consuming GitHub API (REST) With Flurl

In our article A Few Great Ways to Consume RESTful API in C# we introduced a few different ways to consume a Restful API. This article is about going into details of Flurl library and giving a few examples of how to authenticate and consume a restful API such as GitHub’s. The source code for this article is located here: Flurl Examples. Be sure to fork it and follow along with this article to make most out of it. In this article you’ll learn: What Flurl is and How it Works How to Set up Flurl What Does Flurl Offer?...

Read More

Continuous Integration with TeamCity and Docker

In the previous post we’ve discussed why continuous integration is important, what makes a good CI tool and after that, we’ve set up a basic TeamCity project to build our application using Docker. But continuous integration is much more than that, so in this article, we are going to learn a bit about more advanced features of TeamCity. We are also going to write an integration test to make sure our application is communicating with the database every time we build it. How to Prepare an ASP.NET Core Project for Dockerization Why Docker: Docker CLI Through Examples Dockerizing ASP.NET Core...

Read More

Preparing a Continuous Integration Environment for Docker

So far in this series, we’ve gone through a lot of different concepts and learned a thing or two about Docker. We’ve learned how powerful it can be and how to build and run images in several different ways. We dockerized our ASP.NET Core application and added MySQL image to it using Docker Compose. We had to clear some air around concepts like repositories and registries and learned how to set up and push to our own registry. All the things we have learned up till now led to this exact moment. Now we need to tie everything up in...

Read More