How to create your own Lint rule

When you are part of a multi-team project in Android, it becomes relatively hard to have a common understanding of how components should be used. This is where Android Lint can help you! In this blog we will show you how you can write your own Lint rules and test them. As an example, we create a sample Lint Detector, which is used to detect whether you have excluded the "secret data" in your application from the Android Authobackup introduced in Android Marshmallow.

Read more →

Building, testing and deploying precompiled Azure Functions

Azure functions are great to build small specialized services really fast. When you create an Azure Functions project by using the built-in template from the SDK in Visual Studio you’ll automatically get a function made in a CSX file. This looks like plain old C# but in fact it is actually  is C# Script. When you’re deploying these files to Azure you don’t have to compile them locally or on a build server but you can just upload them to your Azure Storage directly.

In the last update for Azure Functions the option to build precompiled functions was added. Doing this is actually pretty simple. I’ve created a sample project on Github containing a precompiled Azure function, unit tests for the function and an ARM template to deploy the function. Lets go over the steps to create a precompiled Azure function.

Read more →

Verbal Turn Indicators For Intercultural Product Owners

Jujutsu exams are coming up. One of the things that examiners want to see in jujutsu is the use of go-no-sen, sen-no-sen and tai-no-sen. Go-no-sen means that you respond to an action of your opponent, tai-no-sen means you act simultaneously and sen-no-sen means you take the initiative and act before the opponent has a chance.

When we debate product features, roadmaps, implementations, marketing plans etc. this happens all the time. We listen to what the other person has to say and respond (go-no-sen) or we interrupt and try to take over the discussion (tai-no-sen).
Read more →

A better way (and script) to add a Service Principal in Azure for VSTS

From Visual Studio Team Services (VSTS) it’s possible to deploy to an Azure Subscription using an Active Directory Service Principal.

The Microsoft documentation refers to a blog post which describes a 3-clicks and a manual way to setup this principal.

Although the information on the blog post for the 3-clicks setup is still actual, the script link provided for the manual configuration is not available anymore (not found, probably because the Git repo has been moved/renamed).

For both the suggested ways (3-clicks or manual), there are some concerns from my side about the principal setup, which I think they could be improved:

  • The principal which is created during the process gets the “Contributor” role granted on the whole Azure subscription, and using the manual powershell script, the default role is even “Owner” (this can be modified).
  • The name of the Active Directory Application/Principal is some random guid which is difficult to be identified, see this picture:

Read more →

Running Powershell Pester unit test in a VSTS build pipeline

When you are developing Powershell scripts, creating some unit tests will help you in monitoring the quality of the scripts. Writing some tests will give you some assurance that your code still works after you make some changes. Writing Powershell unit tests can be done with Pester. Pester will enable you to test your Powershell scripts from within Powershell. It is a set of Powershell functions for unit testing Powershell. These functions will allow you to mock and isolate the Powershell code under test. When you want to integrate your unit test into your VSTS build pipeline, you need an build extension to run then in your build pipeline.
Read more →

3 key ingredients that make you a better developer

IT is a booming business, but that doesn’t mean everyone who’s drawn to it will become a great developer. Many students sign up for an IT education for the wrong reasons. I've had classmates who enrolled in IT-related degree programs because they liked gaming or working with computers. Maybe they created a website for a neighbor or relative with a small business and thought, "I could do this for a living.”  Yes, these are good indicators of an interest in IT, but these things alone are not enough to guarantee you'll become a great developer. There are three key ingredients you need to become a great developer.
Read more →

Understanding serverless cloud and clear

Serverless is considered the containers’ successor. But although it’s promoted heavily, it still isn’t the best fit for every use case. By knowing what its pitfalls and disadvantages are, it becomes quite easy to find the use cases which do fit the pattern. This post gives some technology perspectives on the maturity of serverless today.

Read more →

De future fit organisatie - praktijkervaringen deel 1: De kracht en waarde van interne Agile Coaches

Een succesvolle transformatie naar een wendbare, future fit organisatie begint bij het neerzetten van de basis voor de borging. Een organisatie die start met heldere en begrijpelijke cultuurwaarden die het fundament vormen waarop de organisatie steunt. Niet alleen IT en/of Business los van elkaar maar samen met een gemeenschappelijke “purpose” gericht op (klant)waarde. De Agile Coach heeft hierin een belangrijke rol als cultuurdrager van de nieuwe organisatie en als katalysator van de verandering. De transformatie die ING Nederland doormaakt is hier een sterk voorbeeld van.

Read more →

Let Operational Analytics improve your business

Products and services are getting smarter. The Google Car can drive itself. Your phone knows how to take the best selfie and it even tells you when to leave to be on time for that important meeting. The systems that run these services are able to use and understand data in a very smart way. Now it's time for IT operations to get smarter.

Today's DevOps teams lack the ability to use data from different systems in a smart way. They don't have advanced, data-science-driven technologies to see what's happening in their stack, to see what changed, to trouble shoot on issues and to understand the relations and dependencies between all the applications and systems in the stack.

All DevOps teams are experiencing the same problem - there is too much data, too many complicated graphs, too many alerts and dashboards from different tools with too few insights. Understanding your operations can be critical to business success. The role of Operational Analytics tools is to automatically detect, fix and eventually prevent problems. In this article, I will explain what and how Operational Analytics can supercharge your IT Operations teams to stay ahead of the game compared to your competitors.

Read more →

Use VSTS to deploy Functions as Infrastructure as Code

Azure Functions enable you to easily run small pieces of code in the cloud. To do this right, you need to setup continuous delivery of the infrastructure and the code involved. Otherwise you will end with an uncontrolled environment where nobody knows what code is actually running. In this blog post I’ll describe how to setup a deployment pipeline for Functions with VSTS. This will enable you to deploy Functions as Infrastructure as Code.

vstsfunctionpipelineFrom an deployment perspective an Azure Function contains of two parts:

Read more →

Share This