In this webinar we will demonstrate a simple solution for allowing standard <script> elements to behave consistently in Blazor Web Applications in .NET 8 and .NET 9.
By default, Blazor Web Applications (ie. Static Server-Side Blazor using Enhanced Navigation) only process <script> elements during the initial page load. This means that any <script> elements which are encountered during subsequent "enhanced" navigations are ignored, resulting in unexpected behavior and possible broken functionality in your applications.
BlazorScriptReload is an open source project which offers the following capabilities:
– allows developers to use standard <script> elements in their Blazor Web Application components
– allows content creators to use standard <script> elements in their markup - leverages standard browser script loading behaviors
– supports external and in-line scripts
– supports scripts in the head and body of a document
– supports most standard script libraries without requiring any modification
– supports script loading order to manage script dependencies
– provide a simple alternative for simulating "onload" behavior during enhanced navigation
– ensures that scripts are only executed once per enhanced navigation
– utilizes an opt-in approach to avoid undesired side effects
– provides a simple integration story
Our speaker:
Shaun Walker is the original creator of Oqtane and DotNetNuke (DNN), web application frameworks which have earned the recognition of being amongst the most pioneering and widely adopted Open Source projects native to the Microsoft platform. He has 30+ years professional experience in architecting and implementing enterprise software solutions for private and public organizations. Based on his significant community contributions he has been recognized as a Microsoft Most Valuable Professional (MVP) for over 16 years. He was recognized in 2011 as a leading entrepreneur in the Business In Vancouver (BIV) Forty Under 40 business awards, and is currently the Chair of the Project Committee for the .NET Foundation.
Wed, Feb 12, 2025 at 12:00 PM ET
Please join us for this private event (registration required).
Register here