Last post Apr 27, 2020 12:24 PM by wgcampbell
Apr 17, 2020 04:28 PM|wgcampbell|LINK
Experimenting with Blazor. I create the (server) example "counter" web page. Everything works fine in the development mode.
Then I publish the application to my web hosting service (ASPNIX). Homepage comes up as expected. Then after 60 seconds of non-activity, everything is grayed out and I get the following message:
"Could not reconnect to the server. Reload the page to restore functionality."
Is this normal expected behavior? Anyway to keep the server connection alive?
Apr 27, 2020 07:14 AM|Masterpiece88|LINK
Are you using Session? It seems from your explanation above, you are using session. On shared hosting, you can't use session as it hosting provider won't permit you to use it. As an alternative, you can use Asp.net Session State.
Apr 27, 2020 12:24 PM|wgcampbell|LINK
I simply created a server project - no special options - just the standard "counter" app. Didn't make any changes that have to do with Sessions unless that's part of the standard blazor server template.