Relative Content

Tag Archive for signalrblazor-server-side

How can I make my Blazor Web App save the login infor entered as it would in InteractiveServer but still be able to use the HttpContext for login?

I’m trying to create a Blazor login page that uses cookies, but without rendermode InteractiveServer, the information I enter on the form won’t be saved and sent. If I turn it on, SignalR will make HttpContext null.
I tried leaving the data available without import and turning off rendermode, it worked perfectly. Can someone help me how to make rendermode and SignalR make HttpContext not null or is there any other way to login with SignalR using Cookie?
How can I make the website work? Sorry for my bad English. Here is my Login.razor: