Rust has been Stack Overflow’s “most loved language” for 5 years running. Why is a system-level language getting so much attention from web and enterprise developers? Memory Safety Without GC .NET relies on the Garbage Collector to manage memory. Rust uses the Borrow Checker. It ensures memory safety at compile time. No GC pauses, ever. […]
Read more โMonth: January 2021
Blazor State Management: Fluxor vs CascadingParameters
As Blazor apps grow, passing data via parameters becomes tedious (“prop drilling”). Here are the two main strategies I use for state management. 1. Cascading Parameters (Built-in) Good for simple, hierarchical data (like Theme, current User). 2. Fluxor (Redux pattern) Good for complex, app-wide state (Shopping Cart, Dashboard Data). It effectively brings Redux to .NET.
Read more โAzure Key Vault: Managed Identities for Zero Trust
Friends don’t let friends store connection strings in appsettings.json. In 2021, there is no excuse for having secrets in configuration files or Git repositories. The Zero Trust Approach Implementation 1. Enable Managed Identity on your Azure App Service. 2. Grant that identity Get and List secrets permission in Key Vault access policies. 3. Update code […]
Read more โData Records in C# 9: Value or Reference Type?
A common point of confusion with the new C# 9 record type is whether it is a value type (struct) or a reference type (class). It is a Reference Type By default, record translates to a class under the hood. It lives on the heap and gets garbage collected. Why not struct? Records were designed […]
Read more โGitHub Actions vs Azure DevOps Pipelines: 2021 Comparison
With GitHub Actions maturing rapidly, many teams are asking: should we switch from Azure DevOps? As of early 2021, here is my take. Feature Parity Feature Azure DevOps GitHub Actions YAML Pipelines Mature, complex templates Younger, growing fast Marketplace Extensions (Tasks) Actions (JavaScript/Docker) Self-hosted Agents Yes (Agent Pools) Yes (Runners) Release Gates Advanced (Approvals, API […]
Read more โKubernetes Probes: Liveness, Readiness, and Startup Explained
One of the most common reasons for instability in Kubernetes deployments is misconfigured probes. K8s relies on these probes to know when to restart a container, when to send it traffic, and when it’s still booting up. The Three Probes Startup Probe: “Am I done booting?”Run first. If this fails, the container is killed. Use […]
Read more โ