aspnetcore/breaking-changes/5/blazor-protectedbrowserstorage-moved.md
As part of the ASP.NET Core 5.0 RC2 release, the ProtectedBrowserStorage feature moved to the ASP.NET Core shared framework.
5.0 RC2
In ASP.NET Core 5.0 Preview 8, the feature is available as a part of the Microsoft.AspNetCore.Components.Web.Extensions package but was only usable in Blazor WebAssembly.
In ASP.NET Core 5.0 RC1, the feature is available as part of the Microsoft.AspNetCore.Components.ProtectedBrowserStorage package, which references the Microsoft.AspNetCore.App shared framework.
In ASP.NET Core 5.0 RC2, a NuGet package reference is no longer needed to reference and use the feature.
The move to the shared framework is a better fit for the user experience customers expect.
If upgrading from ASP.NET Core 5.0 RC1, complete the following steps:
Microsoft.AspNetCore.Components.ProtectedBrowserStorage package reference from the project.using Microsoft.AspNetCore.Components.ProtectedBrowserStorage; with using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage;.AddProtectedBrowserStorage from your Startup class.If upgrading from ASP.NET Core 5.0 Preview 8, complete the following steps:
Microsoft.AspNetCore.Components.Web.Extensions package reference from the project.using Microsoft.AspNetCore.Components.Web.Extensions; with using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage;.AddProtectedBrowserStorage from your Startup class.None
<!-- ### Category ASP.NET Core ### Affected APIs Not detectable via API analysis -->