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 safe rollouts and rollbacks. Authenticate using `az login` or a Service Principal in CI/CD.
Read more →Month: October 2021
React 18 Alpha: Automatic Batching
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 Key Takeaways Use `flushSync` if you explicitly need an immediate render. This reduces rendering overhead significantly in complex apps.
Read more →Docker Desktop Licensing: What Now?
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 Lima (macOS) or WSL2 (Windows). **Podman Desktop**: Daemonless, rootless, open-source. **Colima (macOS)**: Lightweight alternative using Lima. Rancher Desktop Setup Key Takeaways For startups/individuals, […]
Read more →C# 10: Constant Interpolated Strings
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 cleanly. Key Takeaways Components must be `const`; no runtime expressions allowed. Good for reducing magic strings.
Read more →TypeScript 4.4: Control Flow Analysis
TS 4.4 is smarter. It can now analyze aliased conditions.
Read more →Azure Functions 4.0: The Road to .NET 6
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 Dependency Tied to Host Independent Middleware Limited Full ASP.NET Core Middleware Startup Performance Faster Slightly Slower (but improves) Creating Isolated Function Key Takeaways […]
Read more →