You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2025. It is now read-only.
Describe the bug
Attempting to retrieve a list of stored objects from session storage causes the following error:
To Reproduce
Steps to reproduce the behavior:
Create two new classes (these have been generated for me from EF Core). Here are the definitions:
public partial class IISDashboardUserSetting
{
public string UserSettingId { get; set; }
public string UserId { get; set; }
public string SettingId { get; set; }
public string Value { get; set; }
public virtual IISDashboardSetting Setting { get; set; }
}
public partial class IISDashboardSetting
{
public IISDashboardSetting()
{
IISDashboardUserSettings = new HashSet<IISDashboardUserSetting>();
}
public string SettingId { get; set; }
public string Name { get; set; }
public string Description { get; set; }
[JsonIgnore]
public virtual ICollection<IISDashboardUserSetting> IISDashboardUserSettings { get; set; }
}
From the database a populated a list of IISDashboardUserSettings with 113 items:
public List<IISDashboardUserSetting> GetUserSettingsById(string userId)
{
using (var eQuipDBContext = eQuipContextFactory.CreateDbContext())
{
var userSettings = eQuipDBContext.IISDashboardUserSettings
.Include(s => s.Setting)
.Where(u => u.UserId == userId).ToList();
return userSettings;
}
}
Store the list in session storage:
if (modelUserSettings != null || modelUserSettings.Count > 0)
{
//We have all the settings...
await SessionStorageService.SetItemAsync("settings", modelUserSettings);
StateHasChanged();
}
Attempt to retrieve the stored list:
public async Task<List<IISDashboardUserSetting>> FetchUserSettingsFromStorage()
{
return await SessionStorageService.GetItemAsync<List<IISDashboardUserSetting>>("settings");
}
Expected behavior
Expect to retrieve the list successfully for use in the application.
Screenshots
See above steps.
Hosting Model (is this issue happening with a certain hosting model?):
Blazor Server
Additional context
I removed 20 items and tested the same steps and the problem went away.
Describe the bug

Attempting to retrieve a list of stored objects from session storage causes the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect to retrieve the list successfully for use in the application.
Screenshots
See above steps.
Hosting Model (is this issue happening with a certain hosting model?):
Additional context
I removed 20 items and tested the same steps and the problem went away.