Tabs vs spaces? EditorConfig to the rescue!

Tabs vs spaces? EditorConfig to the rescue!

When you work in a team, you all have to decide, how you are going to format your code in the project. Everyone has their own favourite editor, IDE and own preferences regarding tabs, sometimes even charsets. Very often it’s hard to convince everyone to change settings in their editors. That’s when EditorConfig comes in handy.

read more

Preload data before app init in Angular

Preload data before app init in Angular

Sometimes you need to load data from an API before your Angular application can be initialized. I recently had such problem - in this case I had to get settings from the backend server. You may load the data in main component, but then it’s hard to make it available for all other components. It’s much better to hook into initialization process. Let’s see how to do it.

read more

Angular app in docker

Angular app in docker

Last two posts were about docker and ASP.NET Core. Since my focus is now split between those two and Angular, I thought I would write a post about how to create a docker image with an Angular app. You will learn how to create an efficient Dockerfile, which will run tests and build your app using the Angular CLI.

read more

Orchestrate containers with Docker Cloud

Orchestrate containers with Docker Cloud

In the last post, I have shown how you can build an ASP.NET Core app in the Docker container. Today I will introduce you to Docker Cloud - a service for orchestrating your containers. It’s working directly with Docker Hub (images registry) and is free for public containers. In the end of the post, we’ll have an application created last time running on the virtual machine, managed by Docker Cloud.

read more

Web Analytics