Category Archives: Programming
This is a series of blog posts: Part 1: using PowerShell Part 2: using ADAL Part 3: using MSAL First you need to install AAD client NuGet package. Note this is MSAL, the modern and recommended way to communicate with … Continue reading
This is a series of blog posts: Part 1: using PowerShell Part 2: using ADAL Part 3: using MSAL In previous part we did it this using a script, this time we’ll do it using C#. First you need to … Continue reading
This is a series of blog posts: Part 1: using PowerShell Part 2: using ADAL Part 3: using MSAL In order to do this, you’ll need: Call this Azure Resource Manager API without authentication I suggest to always use the … Continue reading
First you need to acquire a token using Managed Identity by calling the local IMDS endpoint: Note that audience must match the service you’re calling and is different from example calling ARM. Then call Key Vault REST API to get … Continue reading
First get the subscriptions you want to assign permissions on: Then get the client id of the identity you to assign permissions for: Now perform the actual permissions assignment: That’s it, folks!
Presentiments: your Service Fabric cluster must be of version 7.1. Since the automatic rollout was postponed, you would need to temporarily switch to the manual mode, select the latest version, and then switch back once the upgrade is complete. To … Continue reading
I’m an ardent proponent of using Arrays (T) over Lists (Lisf<T>) in C#. In my case, it’s mostly web services running in Azure and libraries, consumed by such services. In this blog post I’ll be collecting the pros and cons … Continue reading
This is a series of posts: Part 1 Introduction Handlers, commands and queries MediatR Back to injecting handlers Part 2 Another option: DecoratR Introduction Today I own the Service Fabric infrastructure piece in my team, to run applications and services … Continue reading
I decided to write down few useful Git aliases I’m using every day. Or how it looks in .gitconfig:
HeartbeatActorServiceType is invalid and cannot be registered. Only ServiceTypes specified in the ServiceManifest can register.
If you try to register an actor within a Service Fabric service like this: but getting the following exception: System.Fabric.FabricException: ‘Invalid Service Type’ Inner Exception: COMException: Exception from HRESULT: 0x80071C21 then in Event Log (Applications and Services Logs -> Microsoft-Service-Fabric … Continue reading