Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor, session storage and deprecation reference library

$
0
0

While looking into implementing a simple session storage in a Blazor app, I found multiple references to Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage and what appears to be some pretty simple implementations. The problem is that this component is being shown as deprecated in nuget and I can't find a replacement.

@using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage@inject ProtectedSessionStorage ProtectedSessionStore

What is the new/proper way of doing this in .Net 8 without the deprecated libraries?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>