JavaScript Two-Way Interop
summary
Shows working demos: geolocation via IJSRuntime calling a global JS function and handling pre-rendering by using OnAfterRenderAsync, two-way callbacks using DotNetObjectReference and DotNet.invokeMethodAsync, a file uploader that splits files into 8KB chunks base64-encodes them, streams segments into server-side Memory-backed streams and disposes resources to avoid leaks, and a port of React auth code into Blazor using JS interop. All demos run live and demonstrate successful location lookup, chunked upload, and auth flows with redirects and claims.
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:36Agenda
- 3:03Demo
- 6:07Prerendering
- 8:23Updating Location
- 11:45Running the App
- 12:57Main Points
- 13:42Upload Files
- 14:41Visual Studio
- 15:12Upload Page
- 16:54Input File
- 18:17Upload Completed
- 19:33File Uploader
- 23:38JavaScript
- 28:35Summary
- 29:49Live Demo
- 36:33Final Thoughts
- 37:18Wrap Up
related talks
01h 04mA fistful of Blazor; Its .NET in the browser
43mIsomorphic JavaScript apps
30mA Nerdy Guide To The Web Trending Concepts
01h 01mWeb Apps can’t really do *that*, can they?
39mTowards Universal JavaScript
23mLightning Talks Future JS
58mJavaScript for accessible web applications
41mJavaScript and Windows Store Apps - In the Trenches
