How To Use Browser Storage in Blazor Server (.NET 5+)
Claudio Bernasconi
0:00 / 0:00
How To Use Browser Storage in Blazor Server (.NET 5+)
4 900 просмотров · 2 года назад
Claudio Bernasconi
19,8 тыс. подписчиков
4 900 просмотров · 2 года назад
The browser's session storage allows us to store data relevant to the current user and tab. The local storage
allows us to store data relevant to a user but across tabs and sessions.
In this video, I will show you how to access the local and session storage in Blazor Server using C# instead of JavaScript.
00:00 Introduction
00:32 ASP.NET Core Protected Browser Storage
00:59 WebAssembly
01:21 Accessing the Browser Storage in Blazor Server
07:23 Properly handling prerendering
08:51 Conclusion & Gotchas
🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
https://claudiobernasconi.ch/dotnet-c...
📌 .NET Developer Roadmap
https://claudiobernasconi.ch/learn-do...
📌 Protected Browser Storage (GitHub):
https://github.com/claudiobernasconi/...
📌 Protected Browser Storage - Failed attempt with prerendering enabled (GitHub):
https://github.com/claudiobernasconi/...
📌 YouTube Playlists:
The FREE Blazor Crash Course: • The FREE Blazor Crash Course (.NET 5) | Ge...
Blazor: • Blazor
✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 https://claudiobernasconi.ch/Subscribe
🚀 CONNECT & SUPPORT
Twitter: / chbernasconic
Blog: https://claudiobernasconi.ch
Newsletter: https://claudiobernasconi.ch/newsletter
Affiliate Link: I earn a small commission at no additional cost