How do you increase server timeout to prevent elapsing without receiving a message from the server?

Platform: Blazor| Category: Error handling

Scenario: Invoke JS method call from .NET.

Here is how to increase JavaScript client timeout.

hubConnection.serverTimeoutInMilliseconds = 100000; // 100 second

Share with