Andrei Dzimchuk

I build solutions on Microsoft Azure and write about it here

Providing SSO across on-premises applications and those running in the cloud (yours and 3rd party), enabling access to applications with organizational as well as individual credentials are all examples of what is called hybrid authentication. How would you approach implementing it in your solution? »

Entity Framework Core provides built-in support for optimistic concurrency control but it only works during the lifetime of the context when in most realistic scenarios it needs to work across a longer period that involves a roundtrip to the client app and back the server. »

The ASP.NET Core data protection stack is designed to serve as the long-term replacement for the element in ASP.NET 1.x - 4.x. It's simple to configure and use, yet it provides powerful capabilities such as automatic algorithm selection, key lifetime management and protection at rest. »

There is a common problem that developers face when implementing domain events. How do we make them reliable? That is, how can we make sure they are consistent with the state of the aggregates that triggered them? The ultimate solution might be event sourcing but it's not always feasible. »

This post is a quick reference on using EF Core migrations to apply incremental changes to the database including schema updates and static data. It covers preparing your data access projects for migrations, using EF Core CLI and some common practices that you may find useful. »

It's been over 1.5 years since I'd posted on integrating ASP.NET Core applictions with Azure AD B2C. As I was upgrading my sample to ASP.NET Core 2.0 it became obvious that changes that I had to make were not only limited to the revamped authentication middleware and security related APIs... »

The problem is that it's not currently supported. The only way around this is to export your managed disks and recreate your VM. If you just use managed data disks (and the OS one is unmanaged) then you don't have to recreate the VM. But in both cases you're going to experience some downtime... »

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 integrations. Let's see how we can acheive that in a Service Fabric cluster running in Azure. »

In order to enable deployment of preconfigured environments or to scale your IAAS workloads you may need clone your VMs. The process normally involves removing computer-specific information from the machine, capturing the VM image and then using this image when provisioning new VM instances. »

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 automatically or gracefully degrade our own service instead of failing outright. »