Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (25 sloc) 2.89 KB
layout permalink title path
post
/blazor-statehaschanged-101218/
Blazor StateHasChanged() Oct. 12, 2018
2018-12-06-blazor-statehaschanged-101218.md

A review of the ASP.NET Community Standup, what happened at DevUp, highlights of Blazor Dual Mode and more. This week we dive into Entity Framework Core's In-Memory Database Provider. We do some basic CRUD operations using Blazor and EF.

<iframe src="https://player.twitch.tv/?autoplay=false&video=v321698059" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>Watch Blazor StateHasChanged is your weekly dose of Blazor community news and live code demos. from EdCharbeneau on www.twitch.tv

ASP.NET Community Standup: The Blazor Show!

On this weeks ASP.NET Community Standup, the topic is Blazor! Steve Sanderson demo's the new Provider component and a method of sharing data between components that is so easy it makes Daniel Roth's head explode.

<iframe height="378" width="620" src="https://www.youtube.com/embed/wwi55L6Qb18?list=PL1rZQsJPBU2StolNg0aqvQswETPcYnNKL" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Blazor Dual Mode

Demo on how to dynamically switch from client to server side mode by appending ?mode=server to the url.

Mono Updates for 0.7.0

Speculation that Blazor 0.7.0 will have improved client-side debugging.

EF Core In-Memory Database Provider

On this show we used the In-Memory Database Provider to create a data sandbox. The first half of the show I struggled with the database not persisting as I had recalled it working in the past. Thankfully the chat room pushed through the issue and we found a resolution together. After the show ended, I looked at some previous samples and found how I had made it work before using only Startup.cs. You can see a reworked version of this example of Startup.cs below. This method doesn't require hacking at Program.cs.

https://gist.github.com/EdCharbeneau/4783fc48a79c2f920da74dc412993a81#file-startup-cs-L40-L55

Events and More

Come hear about Blazor live and in person. DevReach, Sofia Bulgaria

Thanks to everyone who learned about the show at DevUp, St. Louis, USA

Podcast: Eat Sleep Code

Blazor Gitter

Chat with other devs about the Blazor project.