Service Fabric stateful services
Service Fabric is a great compute platform for your applications. But did you know it is also a storage platform? Stateful services programming model enables this capability. Stateful services allow...
View ArticleService Fabric application lifecycle management using PowerShell
This post is a collection of notes that I took as I was familiarizing myself with lifecycle management of Service Fabric applications. As I was going through the process I learned more about versioning...
View ArticleGlobal Azure Bootcamp 2017
On April 22, 2017 we've held a community Global Azure Bootcamp event in Minsk together with 250+ similar events that were organized by user groups around the globe. Each user group organizes their own...
View ArticleRe-iterating communication options in Service Fabric
There are a few options you have to make your services talk to each other. In this post we're going to have a quick look at them and I'll give links to resources to learn more about each option. Note...
View ArticleHosting multiple externally accessible ASP.NET Core applications in Service...
This is a really quick post to answer a question that I was asked recently about how does one host multiple services or applications in Service Fabric so that they can be accessed from outside on the...
View ArticleBe prepared for downstream failures by implementing the Circuit Breaker pattern
When building distributed applications we need to make sure that when we talk to a remote services or our microservices talk to each other we can handle downstream call failures and either recover...
View ArticleCloning Azure VMs
In order to enable deployment of preconfigured environments or to scale your IAAS workloads you may need to clone your virtual machines. The process normally involves removing computer-specific...
View ArticleExposing services on different domains in Azure Service Fabric
Sometimes we want to expose multiple public facing services on different domain names. For instance, we could have store.contoso.com running our e-commerce site and api.constoso.com enabling 3rd party...
View ArticleMoving Azure VM with managed disks to another subscription
The problem is that it's not currently supported. Well, at least at the time of writing. The only way around this is to export your managed disks, that is, store them as regular page blobs and recreate...
View ArticleSetting up your ASP.NET Core 2.0 apps and services for Azure AD B2C
It's been over 1.5 years since I'd posted an article on integrating ASP.NET Core 1.x applictions with Azure AD B2C. As I was upgrading my sample application to ASP.NET Core 2.0 it became obvious that...
View ArticleManaging database schema and seeding data with EF Core migrations
This post is a quick reference on using EF Core migrations to apply incremental changes to the database including schema updates and static data. We're going to cover the following topics: Preparing...
View ArticleReliable domain events
Events are an important concept of domain-driven design as they are the primary mechanism that enables entities within an aggregate to communicate with the outside world, be it other aggregates or...
View ArticleConfiguring ASP.NET Core Data Protection in a distributed environment
The ASP.NET Core data protection stack is designed to serve as the long-term replacement for the <machineKey> element in ASP.NET 1.x - 4.x. It's simple to configure and use, yet it provides...
View ArticleImplementing optimistic concurrency with EF Core
Entity Framework Core provides built-in support for optimistic concurrency control when multiple processes or users make changes independently without the overhead of synchronization or locking. If the...
View ArticleImplementing hybrid authentication in Azure
It's not uncommon for enterprises moving their applications to the cloud to require hybrid authentication that enables SSO for internal users who authenticate with their corporate credentials across...
View Article