React Server Components: The Future of React?

Late 2020 brought a preview of “React Server Components” (RSC). This is a paradigm shift. Unlike Server-Side Rendering (SSR) which merely sends HTML, RSCs allow components to run exclusively on the server, never sending their code to the client bundle. Client vs Server Components The Zero-Bundle-Size Promise If a component uses a large library (like […]

Read more β†’

Azure Bicep: ARM Templates You’ll Actually Want to Write

Continuing our coverage of Project Bicep (now v0.3), this version introduces loops, conditional deployment, and modules, making it a viable replacement for ARM JSON in production. Loops Conditional Deployment Key Takeaways Bicep is transpiled to ARM JSON `bicep build main.bicep`. IntelliSense works for all Azure resources immediately. Much easier to read and review in Pull […]

Read more β†’

Blazor WebAssembly Authentication with Azure AD

Securing a Single Page Application (SPA) can be tricky. Blazor WebAssembly makes it easier by providing built-in integration with OpenID Connect (OIDC) providers, including Azure Active Directory (AAD). Here is how to secure your app. App Registration First, register your app in the Azure Portal. 1. Create a “Single-page application” registration. 2. Set the Redirect […]

Read more β†’

Vue 3 + TypeScript: The Perfect Combination

Vue 2’s TypeScript support was… okay, but awkward. It often required class-based components or clunky decorators. Vue 3 was written in TypeScript from the ground up, and the integration is now seamless, especially with the Composition API. Defining Props In <script setup lang=”ts”>, you can use pure TypeScript interfaces to define props. Typing Emits Strictly […]

Read more β†’
Posted in Uncategorized

C# 9.0 Top-Level Programs: Reducing Boilerplate

C# has always been criticized for the “Hello World” ceremony. You needed a namespace, a class, and a static Main method just to print one line. C# 9 Top-Level Programs remove this requirement, bringing C# closer to scripting languages like Python for simple tasks and microservices. The New Entry Point Behind the Scenes The compiler […]

Read more β†’