Posts

Blazor Web App (new)

Blazor Web App (new)  (SPAs in Azure)    Blazor natively treats app state as a first-class citizen. You do not need to deal with the complex serialization, API layer construction, or JavaScript state synchs required by frameworks like React or Angular. By default, Blazor Web Apps use Prerendering ( Server executes your state container, renders the HTML, and sends it to the browser. Then, interactive connection kicks in, instantiates a new state container, and re-renders the page.). Blazor Web App (new)    Introduced in .NET 8, this is the gold standard for modern Blazor SPAs. It loads the initial page rapidly using Blazor Server, while downloading the WebAssembly bundle in the background. Subsequent interactions use the browser's local resources, giving you the best of both state models.  For a highly stateful SPA, the Interactive Auto render mode is the crown jewel because it solves the "slow initial load" problem that plagued traditional client-side SPA...

Browser tests in Azure

Automating Browser Tests  in Azure   When automating browser tests for applications integrated with MS Entra ID (OAuth2/OIDC) in Azure or Windows environments, Playwright, Selenium, and Cypress behave very differently. 1. Playwright (The Modern Microsoft Native) Built by Microsoft, Playwright has native, deep integration with Windows architecture and Azure DevOps. It is currently the industry-recommended tool for testing Azure-backed applications.  Playwright's native auto-waiting mechanisms are perfectly engineered to handle the asynchronous nature of Blazor Server (SignalR web sockets) and Blazor WebAssembly (WASM code execution) without requiring unstable sleep timers. Azure Pipelines Integration: Out-of-the-box support in Azure DevOps. You can run Playwright tests across multiple browsers (Chromium, Firefox, WebKit) in parallel using headless Azure-hosted agents (Windows or Linux) without installing extra dependencies.    The Entra ID Advantage (Storage St...