Health monitoring of the Service Fabric app upgrade
Deploying an update of any application can be risky, because new code may contain new bugs. Unit testing is an advisable method of reducing the risk. However, some mechanisms depend on workload. Some workloads can be simulated easier than others. Service Fabric provides health monitoring after the new application version is deployed to the cluster. If the new version is not healthy the old version is rolled back automatically. Setting up the protection against failures caused by upgrades is relatively easy. Read more ›
How to secure Service Fabric cluster with an X.509 certificate
You probably noticed that Service Fabric Explorer is publicly accessible and does not require any username or password. Service Fabric Explorer allows monitoring and management actions like disabling nodes or application deletion. The cluster and its management can be easily secured with an X.509 self-signed certificate. After that the certificate is required prior to access Service Fabric Explorer or publishing applications to the cluster. Read more ›
Azure Service Fabric & Scheduled Tasks
Scheduled tasks have many names. In Windows, it is traditionally called Task Scheduler. In Unix-like environments job scheduler is called Cron daemon. Microsoft Azure contains Azure Scheduler and Azure Web Apps have WebJobs. Service Fabric has its own mechanism called Actor Reminder. This article explains how to implement them. Multiple jobs could be encapsulated in a single assembly. Read more ›
Service Fabric cluster endpoints & Azure load balancer
Reaching external resources from a Service Fabric cluster is trivial whereas reaching the cluster from the internet requires some configuration. The virtual machine scale set, service endpoint and load balancer comes into play. On the first sight, it could be seen as a complicated as doing a puzzle, but understanding of mechanisms under the hood helps to realize that whole processes is easy. Read more ›
Service Fabric Hello World
Starting with a console app is simple. Write a line of text to the console is easy and the result is visible immediately. Similar situation is with Universal Windows app where is a TextBlock control. Service Fabric is not harder. The most difficult part is setting up your diagnostics, because cloud services does not have any user interface. Read more ›
How to set up a Service Fabric development environment
Setting up a development machine for Azure Service Fabric applications allows developers to test and debug microservices locally. Local cluster use the same runtime that will run in Azure. Read more ›