Tag archives for best practises
Graceful Terminations in GKE: Mastering SIGTERM in .NET APIs
In the world of cloud-native development, "stability" is often synonymous with how well your application handles its own demise. When running on Google Kubernetes Engine (GKE), pods are constantly being moved,…
The Silent Killer of Serverless Performance: Avoiding the “Warm Start” Memory Trap
Why your Cloud Functions run out of memory on the 100th request, and the best practices to fix it. Introduction: The "It Worked Locally" Mystery You’ve just deployed a new…
C# Timers Explained: PeriodicTimer vs. System.Timers.Timer vs. System.Threading.Timer
If you have been coding in C# for a little while, you have likely run into a situation where you need to run a piece of code repeatedly—maybe polling an…
C# code performance improvement with Span<T> Type
A new structure Span<T> was introduced since C# The main goal of it is to avoid allocating new objects on heap memory when working with the contiguous region of arbitrary memory requirements. …
Understanding Task vs ValueTask
These days most of the Interfaces we are seeing with methods have a return type as ValueTask. So, through this article, we are going to understand What is ValueTask? How…
Understanding Thread Starvation in .NET Core Applications
Most of the applications will be facing a performance issue while scaling and this might be due to thread starvation. Before getting into the thread starvation problem, we need to…
Working with Async/Await/Task keywords in depth
Modern systems are coming more powerful with multiple processors. Similarly, the modern server application development also improved to leverage the host CPU power for processing multiple requests in parallel to…
Consume OData feed with C# Client Application
Introduction OData represents Open Data Protocol is an OASIS standard initiated by Microsoft in the year 2007. This defines the best practices for the consumption of data and building with…
Understanding Semaphore in .NET Core
Semaphore class in is a thin wrapper around the Win32 Semaphore object. This is used to controls access to a resource or pool of resources concurrently. SemaphoreSlim class is lightweight…
Generate Random Password
It is a common requirement across most of the online application to generate some random password while registering a new user or for any password reset request in case forgetting an…





