Recent Articles

Book Summary: Getting Results the Agile Way by J.D. Meier

Key Thoughts Getting Results the Agile Way is a great productivity book on building a Personal Productivity System to manage your life - both work and personal. I'd recommend this book for anyone starting to build a productivity system for themselves. If you…

Why You Should Avoid Command Handlers Calling Other Commands?

One of the patterns that I keep coming back to when building ASP NET Applications is the Command and Query Responsibility Segregation (CQRS) pattern. Fundamentally, the pattern separates the code to read (Query) and the write (Command) to the data store. By…

2020: 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. 2020 has pushed us into new ways of living with COVID. I am grateful and lucky that I am in Australia, as it was least affected this year, and I hope it continues and stays the same…

Understand CORS and Learn How to Enable it for Your ASP NET API

Browser security prevents a web page from making requests to a different domain than the one that served the web page. This restriction is called the same-origin policy. The same-origin policy prevents a malicious site from reading sensitive data from another…

How To Automatically Deploy ARM Templates To Azure Cosmos Emulator

The Azure Cosmos Emulator provides a local environment that emulates the Cosmos DB service. Having the Emulator running on your local development machine helps to develop and test your application easily. You no longer need to create an Azure subscription or…

How To Create An ARM Template For Cosmos DB

ARM Templates always overwhelmed me for its size and various attributes and values. After having discovered the ways to author them, these are less intimidating than before. I now use either the Visual Studio Resource Group Project or the ARM Tools…

Are You Using HttpClient in The Right Way?

When an ASP NET application needs to talk to an external service or API, it needs to make an HTTP Request. When using ASP.NET to build an application, HTTP requests is made using an instance of the HttpClient class. An HttpClient class acts as a session to…

How To Improve Your Online Reading - Why I Chose Diigo?

I have been a long time user of the free version of Pocket . I used it mostly to mark articles to read it later and occasionally get to it when I have the time. After attending the Building a Second Brain (BASB) workshop, I realized I have a significant gap…