Blazor
news

27stories

Stories

Blazor
Blazor Hybrid and obfuscation
DVDEV Community: #blazor Zero Heartbeat Nov 19

How renaming breaks Blazor component parameters

Blazor Hybrid compiles Razor components into an ordinary managed assembly that ships to the user's machine, so obfuscation makes sense. But parameters reach the component by name through the render tree, and renaming one throws an InvalidOperationException on the first render instead of failing quietly.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message