Blazor

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

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

Scenario: Invoke JS method call from .NET.

Here is how to increase JavaScript client timeout.

hubConnection.serverTimeoutInMilliseconds = 100000; // 100 second

 

Sumitra Kumari Shaw

An Engineering graduate who Enjoys building things that live on the internet.