EIP Azure Service Bus Channel Purger

There isn't an official way or method to empty an Azure Service Bus Queue using the Nuget assemblies. The following approach loops through the message list and empties the contents…

Soundex for faster search

Soundex is a phonetic algorithm that is used to index and search for words based on their pronunciation rather than their spelling. The algorithm assigns a code to each word…

Capture field changes in a Dynamics 365 CE plugin

The following code captures record updates in a Dynamics 365 CE plugin, and stores this in the description field.

C# Action/Func Delegates in Serverless Compute

To reduce that cyclomatic complexity often produced by condition statements like IF/ELSE of Switch, it’s often easier to store functions in a Dictionary and invoke them when required. There are…

Getting Access Tokens for Dynamics 365 CE

Below I've listed the various grant types that can be used to access Dynamics 365 Web API.

Update a Plugin assembly without using the Plugin Registration Tool

Here is a quick way to update an assembly in Dynamics 365 CE without using the Plugin registration tool.

C# LINQ Reference Sheet (wp)

A quick cheat-sheet to help write LINQ code.

Connect to Azure DevOps using PAT in C#

Here is a code snippet demonstrating how to connect to Azure DevOps using C#.

User Authentication with ASP.NET Web API

I was struggling to understand how to secure my Web API endpoint using some form of authentication mechanism. During my search, I came across a video on YouTube created by…

Dynamics 365 CE – Set State using a plugin

Below is a code sample that demonstrates how to set the state of a record in Dynamics 365. The plugin Step must be registered on both the SetState & SetStateDynamicEntity…