Relative Content

Tag Archive for c#blazorblazor-server-side

Blazor Web app foreach loop for each identity user in a role shows the users but cant complete the form

I am creating a blazor server app and i have a form where an admin can edit the roster and i use InputSelect for the admin to select from users in each role. For example i have a admin role for the admin pages, then manager, kitchen and driver. When the admin is selecting the manager InputSelect, a list of all the users under the manager role appear. I managed to get that working but whenever i then submit the form to update the roster i get a object reference null error on the IList that i use a loop to display the identity users name.

ISession instabilities

I am trying to use ISession in a .net Blazor web app server side only. My problem is that the ISession in very unstable as it disappear and comeback when it feels like it.