Advanced features of Azure Storage
Azure Storage offers many useful features and services which make integration into existing systems easier. New solutions can take advantage of those features on an architectural level. Knowing which common patterns are natively supported by Azure Storage can accelerate development radically. Here is an overview of them. Read more ›
An alternative to Let’s Encrypt for Azure Web Apps
The configuring of Let’s Encrypt certificates for Azure Web Apps was always a pain. One would expect a simple single-click solution. It took four years until Microsoft delivered this feature. It is named App Service Managed Certificates and it will issue a certificate for your custom domains at no cost. This feature is available for customers with Basic App Service Plan and above. Naked domains or wildcards are not supported. Read more ›
The growth of Azure datacenters in Europe
European companies will soon have a much wider offer of Azure regions. Besides 6 current Azure regions in Europe – Amsterdam (West Europe), Dublin (North Europe), London (UK South), Cardiff (UK West), Paris (France Central) and Marseille (France South) – another 8 regions will be available. Microsoft will operate 11 Azure regions in Northern America and 14 regions in Europe. Another 13 regions are located in Asia. Read more ›
Upcoming breaking change in Service Fabric 6.5
Removing node state will not be possible when the node is a seed node since Service Fabric 6.5. It will be necessary to convert the seed node into a non-seed node prior to node state removal. It is not yet known how to convert seed nodes into non-seed nodes. It will be possible opt-out from this limitation in the cluster configuration. Detailed guidance will be available when the Service Fabric version 6.5 is released. Read more ›
Working with Azure Batch
Azure Batch is a very practical and highly customizable service. It is one of Azure Compute services which are designed for performing compute-intensive or data-intensive tasks. Azure Batch combined with Azure Storage is a pair of draft horses which can handle unusual workloads. Setup is very easy and program interface is intuitive and easy to code against. There is even an API to retrieve files from a working directory of your application. Read more ›
Why is the Application Insights TrackMetric method missing?
Short answer is that method is missing because someone in the development team forgot to use an Obsolete attribute. This method in the TelemetryClient class in the Microsoft.ApplicationInsights NuGet package is used very often. After the latest update of the package it just disappeared. Surprisingly, the method isn’t listed the IntelliSence but the older code where this method is used can be successfully compiled without any error or warning. Read more ›
Microsoft announces its own Content Delivery Network
Microsoft Azure provided two Content Delivery Networks (CDN) – Akamai and Verizon. Today, customers can pick up one more provider – Microsoft. The price is a half of concurrent CDNs but the service is in preview. Microsoft offers similar features like others: HTTPS endpoint, custom domain certificate, content purge, compression, geo-filtering and core analytics. Read more ›
Azure Portal: Hmmm... Looks like something went wrong
Azure Portal sometimes fails to load. It happened to me several times. It was always caused by exceeding the quota of HTML5 Local Storage. The solution is as simple as clearing the storage and navigate to portal again. Microsoft Edge contains hidden Developer Tools which helps with tasks like this. You can also delete entire browsing history but it will affect all websites, not just Azure Portal. Read more ›
Memory leaks symptoms & causes in Service Fabric reliable services
Memory leaks are hard to detect and can cause serious problems. While a single job task running for few seconds doesn’t have to care about them, the service running 24 hours a day must be carefully tuned to successfully fulfill its job. Moreover, memory leaks don’t have to be detected straight away, they usually appear as another exception pointing you to finding problems in different area. Let’s look at one example of a memory leak and how it shown up. Read more ›
Keep your service running forever by designing an instant shutdown
Over a year of designing and moving several services from Azure Cloud Service to Service Fabric taught me few things which are important to keep in mind during creating or refactoring microservices hosted in Service Fabric environment. Don’t forget that Service Fabric patterns are tight to .NET, which has gone throw a massive paradigm shift. You must be up-to-date at least with asynchronous programming to be able to code solid services. Read more ›
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 ›
Stateless, Stateful or Actor service?
Service Fabric is a distributed system platform that makes it easy to package, deploy and manage scalable and reliable microservices. Service Fabric offers several types of nodes. How to choose one which is the best choice for a given problem? Read more ›
Performance, limit and pricing comparison of various Azure storages
While traditional PC has a file system and random access memory, Microsoft Azure is a little more complicated. Storage is dramatically affecting application architecture and performance. Remind how outdating HDDs in favor of modern SSDs allowed parallel reading on a single drive. There are numerous factors to take into consideration when thinking which storage is the best for some kind of data. A loop iteration counter has different requirements than customers list. Read more ›
Zkušenosti s technickou podporou Windows Azure
Stroje chyby nedělají, zato programátoři, kteří jim říkají, co mají dělat, ano. Proto když jsem v nesnázích, musím kontaktovat technickou podporu. Životní zkušenosti mě naučily předem se smířit s tím, že je to až ta poslední možnost a ve většině případů se problém stejně nevyřeší. Proto mě mile překvapila technická podpora Windows Azure. Problém se vyřešil do 10 minut a způsobem, který jsem vůbec nečekal. Celý článek ›