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

ASP.NET Core in docker with GitLab Pipelines

ASP.NET Core in docker with GitLab Pipelines

A few months ago I have started working on a new, greenfield, project. Since it’s a one-man job, it was crucial for me to have an easy setup without big dev-ops needs - especially in the early beta stage. I decided to use Docker because I could automate the building process using pipelines in GitLab and Docker Cloud for deployment. Today I would like to show you how to setup Continous Integration for an ASP.NET Core project using GitLab pipelines.

read more

Web Analytics