Blazor WASM Initial Load Time Performance - Async Data

Part of a series on Blazor WASM initial load performance Server Prerendering Improving Data Loading Authentication In Prerendering Part 2: Improving Data Loading As seen in the previous post, Prerendering can mitigate the initial page load time problem, but there are some new problems introduced by this solution. Using this technique requires loading the same data on both the server side (for initial component rendering) and client side (from the full application) during the different phases of app startup, which can cause identical data loading requests to be made multiple times from the same app instance....

January 24, 2023 · 5 min · 936 words · John Bowen

Blazor WASM Initial Load Time Performance - Server Prerendering

Part of a series on Blazor WASM initial load performance Server Prerendering Improving Data Loading Authentication In Prerendering Part 1: Server Prerendering Blazor WASM performance in .NET 7 can be improved using a variety of techniques but there are tradeoffs to each. AOT (Ahead Of Time) compilation can improve runtime performance in the browser, but does so at the cost of long compile times and increased app download size. <PropertyGroup> <RunAOTCompilation>true</RunAOTCompilation> </PropertyGroup> Unfortunately, AOT is not helpful during initial page load because the primary impact at startup is the increase to the app download size....

January 22, 2023 · 3 min · 556 words · John Bowen

Auth Token Configuration in YARP

The YARP reverse proxy library provides an easy way to forward API calls through an intermediary service. It can be particularly useful for BFF services for front end clients. By default, API requests are forwarded with their existing headers, which can be a problem if the end API requires an auth token that isn’t available to the originating client. In the case of a BFF the API call will generally originate at the client side application running in untrusted browser space which will be using cookie authentication to the service and so won’t have a token to send....

January 12, 2023 · 4 min · 839 words · John Bowen

Is This Thing On?

After a long time away from my dormant blog, I’ve finally managed to modernize it and get it back to being useable again. Now running as an Azure Static Web App generated by Hugo with the PaperMod theme. I’m looking forward to getting back to documenting more of my experiments and investigations trying to solve problems with software!

January 5, 2023 · 1 min · 58 words · John Bowen

Git for .NET Developers - DevBoston User Group

Slides: Git for .NET Developers Links Git Project Home: Info and reference materials GitHub: Popular hosting for Git projects with free public repos or private repos with paid accounts. Get the GitHub for Windows client from here or use the GitHub plugin in Visual Studio 2015 RC. Visual Studio Online: Online TFS with Git as a source control option. Free accounts with unlimited private repos all integrated with the rest of the TFS tool suite....

June 5, 2015 · 2 min · 388 words · John Bowen