Predictions for 2022: The AI Assistant Era
My bets for 2022: AI Coding: Copilot will move from “cool toy” to “mandatory tool”. WebAssembly: Blazor will get faster (AOT), and we’ll see Wasm used in the backend (WasmEdge) more often.…
My bets for 2022: AI Coding: Copilot will move from “cool toy” to “mandatory tool”. WebAssembly: Blazor will get faster (AOT), and we’ll see Wasm used in the backend (WasmEdge) more often.…
.NET 6 adds HTTP/3 support to Kestrel. HTTP/3 uses **QUIC** (UDP-based), avoiding head-of-line blocking that plagues TCP-based HTTP/2. Enabling HTTP/3 Client Usage Key Takeaways Browsers negotiate HTTP/3 automatically via Alt-Svc header. Ideal…
2021 was a massive year for the Microsoft ecosystem. We finally got the “One .NET” we successfully promised. .NET 6 is a masterpiece of performance and unity. MAUI (while delayed to Q2…
Cloud Development Kit (CDK) v2 consolidates the library. No more `aws-cdk.aws-s3` separate packages.
Code comments explain *what*, but not *why* a particular architectural decision was made. **ADRs** are lightweight Markdown documents capturing context, options considered, and the decision chosen. ADR Template Key Takeaways Store ADRs…
A small but frequent annoyance in LINQ was finding the object with the max value. Previously, we had doing `OrderByDescending(x => x.Val).First()`, which is O(N log N). .NET 6 adds `MaxBy` and…
TypeScript 4.5 adds the `Awaited<T>` utility type. It recursively unwraps Promises. This is extremely helpful when you need to type the result of a library function that returns a Promise, but the…
If you cannot patch instantly, use WAF. Azure Front Door: Rule set newly updated to block JNDI strings. Azure Firewall: IDPS signatures updated.
Log4Shell is arguably the worst vulnerability in a decade. The Apache Log4j library (Java) allowed remote code execution via a simple log message injection. .NET is not affected, but understanding this is…
.NET 6 Blazor introduces “, allowing you to render a component whose type is selected at runtime. No more massive switch statements in render trees. Usage Use Cases Plugin systems where component…
Azure Container Apps (ACA) is now Generally Available. It provides serverless containers without managing Kubernetes, with built-in KEDA scaling and Dapr integration. When to Use ACA vs AKS Feature ACA AKS Control…
EF Core 6 ships with .NET 6 and brings several performance and usability improvements. Here are the highlights. 1. Compiled Models Pre-compile your model to avoid expensive startup reflection. 2. Temporal Tables…
Writing guard clauses like `ArgumentNullException.ThrowIfNull(value)` is great, but error messages often lack context. CallerArgumentExpression captures the expression text at compile time. Example Key Takeaways Zero runtime overhead—it’s a compile-time feature. Use in…
Alongside .NET 6, Visual Studio 2022 is now GA. It is the first 64-bit version of the IDE. I tested it by opening a solution with 100 projects. In VS 2019, this…
VS 2022 is finally 64-bit. We can open 10GB solutions.
Bicep modules can now be published to a **Private Azure Container Registry (ACR)**, enabling enterprise-scale sharing and versioning of infrastructure templates. Publishing a Module Consuming from Registry Key Takeaways Versioning (`v1.0`) enables…
React 18 (in alpha at this time) introduces **Automatic Batching**. Previously, React only batched state updates inside event handlers. Now it batches everywhere—setTimeout, Promises, native events. Before React 18 After React 18…
Docker changed its licensing: Docker Desktop is now paid for companies with 250+ employees or $10M+ revenue. This shook the developer world.””” Alternatives **Rancher Desktop**: Free, uses containerd or dockerd, runs on…
Prior to C# 10, you couldn’t use string interpolation (`$”…”`) in `const` declarations. Now you can, as long as all parts are also constants. Example Use Case Useful for defining attribute strings…
TS 4.4 is smarter. It can now analyze aliased conditions.
Azure Functions 4.0 brings first-class .NET 6 support and the **Isolated Process Model** (out-of-process), which decouples your app from the Functions runtime version. In-Process vs Isolated Feature In-Process Isolated (Recommended) .NET Version…
Zero Trust mandates that internal traffic be encrypted and authenticated. **mTLS (mutual TLS)** achieves this by requiring both client and server to present certificates. In Kubernetes, Service Meshes like Istio automate this…
.NET 6 RC1 (Release Candidate) is “Go Live,” meaning Microsoft supports it in production. This is the feature-complete preview. Final release is November 2021. Key Highlights **Hot Reload** for all project types…
Rendering 10,000 items in a DOM kills the browser. Virtualization (Windowing) only renders what is visible. react-window We use `react-window` (lighter successor to `react-virtualized`). This keeps the DOM node count constant (e.g.,…