This week on Blazor StateHasChanged we have quite a few great articles to discuss. We take a look at an interesting example to integrate app settings on the client. We also see how we can “hack” in a Master-Detail view on the Telerik UI for Blazor Grid.
App Settings in Blazor
This week I demoed an article by Rémi Bourgarel that shows how to implement Configuration Manager and appsettings.json inside a client-side Blazor application. This was a really cool experiment because it followed the standard way of using Configuration Manager in the context of Blazor. It’s worth reiterating (as the article states) be careful as to what you store in these settings because they are far from private. As long as you’re aware of the security risk, it’s definitely something worth giving some time and seeing if it might be useful in your applications.
Uploading Larger Files
When uploading large files with Razor Components you may hit a dreaded exception “System.InvalidOperationException: Advancing examined to the end would cause pipe to deadlock because FlushAsync is waiting.” In this article, Leigh “MisterMagoo” Waldie outlines how to fix this issue in detail.
Chris Sainty outlines in detail how Cascading values and parameters are used to pass a value from a component to all of its descendants without having to use traditional component parameters.
Animation and Visual Effects in Blazor and Razor Components
SQL-MisterMagoo recently posted a GitHub Blazor and Razor Components example that demonstrates a compelling animation. In this post Michael Washington examines how he did it.
#RazorComponents #NoReason #AllCSharp#Not #Blazor— ℳisterℳagoo #Blazing a trail (@mistermag00) February 9, 2019
I mean, there is no reason other than because it is there. Pixel components animated using C#/HTML/CSS following the mouse pointer. #DontAtMe pic.twitter.com/i3oWuWeqr6
Event Aggregator for ASP.NET Core 3 Razor Components/Blazor
Mikael Koskinen takes a look at this new, lightweight event aggregator and how to implement it in our ASP.NET Core projects using Razor Components.
Blazor.EventAggregator is a lightweight Event Aggregator for Razor Components. Razor Components (and formerly known as Blazor) is an upcoming technology included in ASP.NET Core 3.0 (currently in Preview 2).
Lupusa continues to create all sorts of cool experiments, this time he’s created a data grid with a ton of features.
#Blazor Virtual Grid POC 🥳🥳🥳— 🇬🇪 Lupusa #Blazor Vakhtangi Abashidze 🇬🇪 (@lupusa1) February 28, 2019
Column styling, resize, freeze, reorder, hide, sort, keyboard navigation.
Scrollbar and splitter custom components.https://t.co/2iDpTRO0GMhttps://t.co/j6tSpHYPJD@stevensanderson @danroth27 @aVerySpicyBoi @jongalloway pic.twitter.com/SvStvcXtiX