MMMister Magooinblog.mistermagoo.dev·Oct 13, 2020 · 2 min readQuick Helper For Blazor PerformanceHow do you check your renders? Here's my method Create a base class that inherits ComponentBase, override ShouldRender and OnAfterRender to start and stop the Stopwatch, and keep track of how many renders there have been. public class PerfTestBase : ...00
MMMister Magooinblog.mistermagoo.dev·Oct 8, 2020 · 3 min readDependency Injected Blazor AppBlazor Does Not Support Constructor Injection Or does it? Code - gimme code The v5.0.0-preview.8.20414.8 release included a nice refactor commit from Mladen Macanović that introduced the IComponentActivator interface (along with a default implement...00
MMMister Magooinblog.mistermagoo.dev·Aug 14, 2020 · 4 min readBlazor and Media events - Hard to handle?Preface I saw some chat recently on the Blazor Gitter Channel asking about binding to events on the html5 video tag. It seems this person was not alone - others had similar problems - the events you subscribe to in Blazor are just not firing. I de...03JKH
MMMister Magooinblog.mistermagoo.dev·Jul 29, 2020 · 2 min readWork in ProgressWork In Progress - Video component for Blazor I am currently working on a Blazor Video component. Media Events do not bubble in general, and Blazor doesn't capture them. This control will enable you to use events such as onplay, onpause, ontimeupdate...00