"Nested subscriptions are bad programming style". That is, what many programmers tell us. But: how can we get rid of nested subscriptions? In this little step-by-step tutorial, we will demonstrate how to use flatMap to improve an Angular 6 based REST…
Consuming a REST Service with Angular 4.3+: a Step-by-step Guide
This is an earlier version of a post about consuming a REST service with Angular. A new, fully reworked version for Angular 6+ can be found here. In both versions, I describe how to use angular 4.3+ HttpClientModule. In the…
Angular 6 Docker Example
In this Angular Docker Example, we will take an existing Angular 6 application and run it in a Docker container. We will show, how to create a Docker image in a modern two-stage process. We then will spin up the application…
Angular HttpClient Service Interceptors
Check out three new chapters of our blog post on Consuming a REST Services with Angular First, we will separate the HttpClient Service in its own file we will move some functionality from HTTP Template to the component and we…
Consuming a REST Service with Angular 6: a Step-by-step Guide
REDIRECTED to https://vocon-it.com/2017/06/24/consuming-a-restful-web-service-with-angular/ Angular 6 is available, so it is time to update my original post about how to consume an Angular REST API service in Angular. We will learn how to implement a fully functional rest service in a single…
Mesos and Marathon REST API via cURL — A Hello World Example
In this hello-world style blog post, we will learn how to create load balanced Docker services in an open source DC/OS & Mesos environment. For that, we will perform Mesos and Marathon REST API calls using simple cURL commands. First, we will…
Testing the Hetzner Cloud API via cURL — IaaS Automation
In this blog post, we will be testing the Hetzner Cloud API. As a "Hello World" example, we will learn how to add an API key to a project and use the API key to do the following: add an…
Properly move a Website to a new Domain with minimized SEO Losses
Are you planning to move your website to a new domain? Be prepared to lose a large portion of your traffic. In this blog post, we will talk about how to properly move a website to a new domain and how…
GIT remove large binary Files
In this blog post, I will show how to completely remove large files from a GIT repository and its GIT history. I have found many examples on the net, but it was still a challenge to reduce the size of…
Getting Started with DC/OS on AWS
Page has moved. Please click here Page has moved. Please click here Page has moved. Please click here Page has moved. Please click here Page has moved. Please click here Page has moved. Please click here Page has moved. Please…
Getting Started with Hetzner Cloud Service (IaaS)
A week ago, the press has announced a new Cloud Service: Hetzner Cloud is based in Germany but they offer Infrastructure as a Service (IaaS) in the US as well. You can rent computing resources at "unbeatable prices" as they…
Getting Started with DC/OS on AWS
In the step-by-step tutorial Getting Started with DC/OS on Vagrant, we have learned how to install a MesosPhere DC/OS data center operating system locally. This time, we will install a DC/OS system on AWS Cloud: existing AWS CloudFormation templates will help us create…
Angular Universal Docker Example (Angular 4 Universal CLI)
In this previous blog post, I have shown how to dockerize an Angular CLI application using NginX. However, the shown method has worked only for classical, client-side rendered Angular projects. In the current post, we will show an Angular Universal…
Angular Universal CLI – Step-by-Step Example with REST Client
This time we will learn how to create a small Angular Universal CLI project that is using the WordPress REST service to retrieve and display the title and content of a WordPress blog post. Angular Universal CLI combines the Universal…
Behavior-Driven Angular – Part 2: Inserting REST Data as „innerHTML“ into a Web Application
Today, we will extend the behavior-driven development example of the previous blog post and add the blog content to the document. Like last time, we will retrieve the HTML content from the WordPress API. Sounds easy, right? We will see that…
Angular 4 Docker Example – for Angular CLI projects
Check out a new Angular 4 Docker Example that has also been tested with Angular 6 here. In this Hello-World-like tutorial, we will show how to run Angular 4 applications that have been created with Angular CLI in a Docker container.…
Adding Swap to CentOS
I describe how to add swap to CentOS and why using dd instead of fallocate for this. Why? In my case, I wanted to take the opportunity of an AWS promotion, which limits the DRAM to 1 GB. The CentOS…
Resolving the VirtualBox code E_FAIL Problem caused by Hyper-V
Shoot! The Microsoft update this morning has caused trouble with my VirtualBox installation. Again! This is the second or third time I had to search for my blog post that is describing the resolution in an appendix. Since the number…
Behavior-Driven Angular – part 1: Consuming a RESTful Web Service with Angular 4
In this step-by-step tutorial, we will follow a behavior-driven development approach to create an Angular 4 application from Angular CLI. The hello-world-like application will consume the WordPress REST API and it will display a blog post title. We will create…
Angular end to end Testing
- Angular e2e Protractor Tests on Systems without GUI applied to static and dynamic Web Pages - In this blog post, we will show how to perform end-to-end (e2e) tests with Angular 4: first, we will apply Protractor end to end…