Recent Articles

TypeScript: Use Sum Types To Your Advantage When Modelling Data

Recently I was working at a client, and we had to take online payment for the service they provide. There were two options to pay - either in part or in full. When paying in full, the payment included a total amount and a refundable amount. When paying in…

Azure DevOps Build Release Pipeline For Create React App

Create-react-app is the defacto for most of the websites that I work on these days. In this post, we will see how to set up a build/deploy pipeline for create react app in Azure DevOps. We will be using the YML format for the pipeline here, which makes it…

2019: What Went Well, What Didn't and Goals

Another year has gone by so fast, and it is again time to do a year review. TLDR; 2019 has been a fantastic year with lots of new learning, blogging, reading, running, and cycling. I started creating content for YouTube. Travel and Swimming did not go as…

Dynamically Create Powershell Alias

While playing around with the Windows Terminal, I had set up Aliasing to enable alias for commonly used commands. For e.g. Typing in s implies git status . I wanted to create new command aliases from the command line itself, instead of opening up the…

Setting Up The Windows Terminal

For a long time, I have been using the Cmder as my command line. It was mostly for the ability to copy-paste, open multiple tabs, and the ability to add aliases (shortcut command). I was never particularly interested in other customizations of the command…

Rename SQL Table and Update Naming Conventions for Associated Keys and Constraints

At work, we usually DbUp changes to SQL Server. We follow certain naming conventions when creating table constraints and Indexes. Here is an example I had to rename a table as part of a new feature. I could have just renamed the table name and moved on, but…

Bullet Journaling: How To Be More Productive With a Pen and Paper System

I am always on the lookout for productivity hacks and new systems to improve the way I work. Given my nature of work is in front of a computer, my productivity tool choices have always been digital. However, at the start of this year, I came across an…

How to Authenticate With Microsoft Graph API Using Managed Service Identity

In an earlier post, we saw how to enable Role-Based Access for .Net Core Web applications . We used hardcoded AD Group Id's in the application as below To avoid hardcoding the id's in the application config, we can use the Graph API to query the AD groups at…

Subscribe to rahulpnath.com

And get the latest articles delivered right to your inbox!