Blazor, a new framework for browser-based .NET apps
summary
Blazor runs full .NET apps in the browser by loading a mono runtime compiled to WebAssembly and standard .NET DLLs, letting components (.razor) use DI, JS interop and shared libraries. Demo shows a to‑do UI, HTTP weather fetch, and exporting an Excel file using EPPlus 5.86M downloads to produce styled .xlsx with charts on the client. Runtime download is about 2 MB, server pre‑rendering yields ~26 ms initial HTML, interpreter execution is slower for heavy CPU work but AOT compilation brings performance near native.
AI-written summary · about
chapters (38)
- 0:00Start
- 2:21running on the javascript runtime
- 3:21run whatever code we want inside the browser on web assembly
- 3:39build your sophisticated ui's on top of dotnet
- 4:14switch over to a demo application
- 7:52fetching the list of weather forecasts
- 9:01make an html table row
- 9:49make use of the dotnet ecosystem
- 10:23output a comma separated text file
- 10:55add a reference to an external third-party package
- 12:15add a forecasts tab into the list of worksheets
- 19:15building this stuff on web assembly
- 19:52create a small web assembly application
- 21:00compile fibonacci
- 21:48set up a little static http server
- 24:28start stepping through the actual web assembly code
- 26:34run your dotnet code inside the browser on web assembly
- 28:35loading an entire dotnet runtime into the browser
- 30:24make some generic template or two components
- 31:39displaying the temperature in fahrenheit
- 32:28pass in an enumerable of weather forecasts
- 33:34pass in some arbitrary markup
- 34:30specify a title
- 34:58display the date
- 39:42pass an instance of this to all the components in my application
- 40:15pass a new theme
- 40:48get the current theme cascading down through the ui
- 41:33put in a drop-down list
- 42:34debugging in a browser
- 44:26set breakpoints
- 45:40putting a breakpoint on my c-sharp
- 48:21render a component asynchronously
- 50:03make a traditional server rendered application
- 51:00use components for pure server-side rendering
- 53:35running your dotnet code on the mono web assembly
- 54:30compile your dotnet code to bare metal web assembly
- 55:47compiled the dotnet assembly to native bytecode
- 58:49write a native desktop
related talks
01h 03mBlazor, a new framework for browser-based .NET apps
41mBlazor, a New .NET Single Page Application Framework
59mBlazor, a new framework for browser-based .NET apps
58mBlazor: C# running in the browser via WebAssembly
01h 01mBlazor: Modern Web development with .NET and WebAssembly
46m.NET: What's Blazor - Front .NET
56mASP.NET Blazor—the C# Angular or the return of Silverlight?
09mBlazor with WebAssembly
