Blazor, a new framework for browser-based .NET apps
summary
Blazor runs full .NET in the browser by shipping a Mono WebAssembly runtime and normal .NET assemblies (about 1.81 MB payload over 18 requests) and supports both pure client-side and ASP.NET Core–hosted projects with a shared .NET library for domain types. Components use Razor, DI and HttpClient; the demo builds a counter, fetch-data table, a shortlist backed by a simple state container, a reusable gray-out render fragment, and persistence via JS interop via IJSRuntime (localStorage), all working end-to-end.
AI-written summary · about
chapters (35)
- 0:00Start
- 1:37bring dotnet into the browser
- 9:12create a pure client-side application
- 9:39installed the blazer extension
- 10:20fetch and install all of the dependencies
- 12:44display a little bit of html
- 13:25injecting an http client
- 14:02fetching the static json file from disk
- 15:24add a parameter parameter of type int
- 15:50use the intellisense
- 16:46embedding an entire dotnet runtime into a page
- 19:03send regular dotnet assemblies down into the browser
- 19:57add your own css
- 21:02deploy those static files to any web server
- 21:33setting up a blazer application
- 24:09class library
- 26:35start by running it in a browser
- 30:40defining the overall structure of the ui
- 32:28use a state container framework
- 38:27add itineraries
- 38:59drop in a little bit of markup
- 39:30display all the information about the itinerary
- 42:18invent a general framework for graying out anything
- 43:30set up the css
- 44:46wrap a gray out zone
- 46:06integrate with third-party javascript libraries
- 47:13store stuff in local storage
- 47:49add local storage capabilities to my application
- 48:51register local storage as a service in my dependency injection
- 49:17add storage
- 52:27reuse chunks of c-sharp in other projects
- 53:46create a blazer library or blazer
- 54:55add a new blazer library
- 1:00:35set breakpoints
- 1:01:17render the initial application ui on the server
related talks
59mBlazor, a new framework for browser-based .NET apps
01h 01mBlazor, a new framework for browser-based .NET apps
01h 01mBlazor, a new framework for browser-based .NET apps
41mBlazor, a New .NET Single Page Application Framework
01h 01mBlazor: Modern Web development with .NET and WebAssembly
56mASP.NET Blazor—the C# Angular or the return of Silverlight?
01h 01mBlazor, a new framework for browser-based .NET apps
01h 00mASP.NET Blazor programming 101
