Archives for C#
Demystifying Session Affinity (Sticky Sessions): A Layman’s Guide & .NET 10 Setup
Welcome back to TechXposer! Today, we’re diving into a concept that often pops up when we scale our applications: Session Affinity, commonly known as Sticky Sessions. If you've been working…
Part 2: Mastering Rate Limiting in ASP.NET: A Complete Guide from Concept to Code
So far, the policies we've looked at are global. If your BasicLimiter allows 100 requests per minute, and User A makes 100 requests, User B gets blocked even if they…
Mastering Rate Limiting in ASP.NET: A Complete Guide from Concept to Code
Welcome back to TechXposer! If you are building APIs today, you already know that putting your application on the internet is like opening a new store. You want customers, but…
The Restaurant Kitchen Guide to C#: Threads, Tasks, and Avoiding the Dreaded Deadlock
If you’re diving into modern C#, you will inevitably hit the concepts of Threads, Tasks, and async/await. They all help us do multiple things at once (concurrency), but confusing them…
Architectural Decision Guide: When to Adopt FastEndpoints
As software architects, our job is rarely about choosing the "coolest" tool. It is about choosing the tool that minimizes technical debt, maximizes developer velocity, and aligns with the system's…
Understanding FastEndpoints in .NET
In the evolution of Core, we have moved from the rigid structure of MVC (Model-View-Controller) to the streamlined simplicity of Minimal APIs. However, as applications grow, Minimal APIs can become…
Knowing When (and When Not) to Use Cloud Functions
In the modern landscape of cloud computing, "Serverless" has become a major buzzword. At the heart of this movement is Function-as-a-Service (FaaS), more commonly known as Cloud Functions. Every major cloud…
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…





