Featured

Unit testing in Azure Service Fabric

Unit testing in Service Fabric can be difficult. For example, how can you test remoting communication between services? And how do you even create an instance of your service type, without relying on a Service Fabric cluster being present on the machine? Fortunately, there’s help available.

In this article you’ll find a description of some of the solutions provided by the open source library named ‘ServiceFabric.Mocks’.

Please note that all examples below are also available as unit tests on Github.

Continue reading “Unit testing in Azure Service Fabric”

Advertisements
Featured

Running Windows Containers on Azure Service Fabric

Since the release of Service Fabric runtime version 5.4.145, Microsoft added a(preview) feature to run Windows Containers on Windows Server 2016. The Linux version already supported this for a while. This post explains why Containers are useful and how to get it to work.

Background


Since the release of Service Fabric runtime version 5.4.145, Microsoft added a (preview) feature to run Windows Containers on Windows Server 2016. The Linux version already supported this for a while. This post explains why Containers are useful and how to get it to work.

Continue reading “Running Windows Containers on Azure Service Fabric”

TechDays 2017 Talk – slides

Here is the slide-deck of my talk ‘Building high quality services using Service Fabric’, at TechDays 2017.

The talk featured data partitioning strategies (for Stateful services) and writing your service code in such a way, that it can be unit tested.

If you were there, thank you for attending. If not, I’ll put a link to the video on Channel9 here, once it’s available.

Building high quality services using Azure Service Fabric

And here’s the video too:

Talking to Kubernetes from VSTS

After you have created a Kubernetes cluster, for instance, by using Azure Container Service, you probably want to start running some containers on it. In this post, I will describe how to do this, by using VSTS. I’ll explain how to execute commands and queries on Kubernetes, by using the CLI and by using Tasks.

After you have created a Kubernetes cluster, for instance, by using Azure Container Service, you probably want to start running some containers on it. In this post, I will describe how to do this, by using VSTS. I’ll explain how to execute commands and queries on Kubernetes, by using the CLI and by using Tasks.

Continue reading “Talking to Kubernetes from VSTS”

Creating and restoring backups in ASF Reliable Stateful Services.

Creating and restoring backups of Azure Service Fabric Stateful Service replicas can be challenging. In this article I’ll describe how you can use my Nuget package “ServiceFabric.BackupRestore” (or its source code) that will help make this much simpler.

ServiceFabric.BackupRestore

ServiceFabric.BackupRestore simplifies creating and restoring backups for Reliable Stateful Service replicas. It supports both Full and Incremental backups.

Continue reading “Creating and restoring backups in ASF Reliable Stateful Services.”

Running Windows Containers on Azure Service Fabric – Part II

The previous post showed how you can create an unsecure Service Fabric test cluster in Azure, and how to run a Windows Container on it. In this follow up post, I’ll show you what’s going on inside the cluster, using the Docker command line. Knowledge about this can be very useful when troubleshooting.

Continue reading “Running Windows Containers on Azure Service Fabric – Part II”