Blog

Deploy & Access Certificates to Service Fabric Node from Azure Key Vault

If you are writing a secure code, there will be more than one instance where you need certificates to achieve encryption and decryption. Always depend on Azure Key Vault to read certificates and keys. However, there are many instances where you need the certificates to be installed in the node itself. This article is to […]

Benchmarking Index Fragmentation With Popular Sequential GUID Algorithms

In a multi-tenant data insert scenario, GUID is a great data type for primary key. Since it is unique globally, you will not need to rely on any range or custom logic. However, if you extend these columns as index, you will end up with frequent index fragmentation and hence bad performance. In this post, […]

Refer azure runbook activity output in PowerShell expression

When you are creating a runbook with multiple activities, often you will encounter the need of referring an activity output in another activity. Thankfully, all the activities in the runbook can refer another activity in the parameter pane. However, when you have a piece of powershell script which needs to use the same, you don’t […]

Get text from RichTextBlockOverflow Control

RichTextBlockOverflow is one of my favorite control. As we all know, it allows you to render the overflown text from a RichTextBlock. Virtually you can render the overflow text to any number of level. Below is how a the overflow happens when you got one RichTextBlock and two RichTextBlockOverflow to render the overflown text. However, […]

A poor man’s implementation of row level security in SQL

Often I have come across situations where the enterprise customers want to restrict data availability to their employees / IT not only from the application but also at the database level. Government / Public sectors have a common requirement that they don’t want everybody at their IT team to be able to query everybody’s data. […]

Complete XAML Solution For SelectAll In Datagrid

Over the period of time lot of asks and solutions were made for selectall selector for DataGrid. However, I failed to see a solution which is completely built on XAML. When my friend approached me, I thought that I will write my own. The idea is to have a template column with a separate definition for […]

Pin / Unpin Control Template For Toggle Button

I was looking for a template which will help put a pin / unpin button using toggle button. Thanks to Antoni Dol who has already shared a fantastic template in his blog. I had to make few changes with respective to the pinned style as I didn’t like the original one. So I made few […]

How To Check If Cookies Are Enabled In Windows Phone

Windows Phone as of today doesn’t provide a property or direct API call which will help you identify whether the user has chosen to accept cookies or not. However, we can identify this pretty neatly by trying to get the cookie collection. So to achieve this, we are going to get the cookie collection for […]

Scroll to top