This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which built-in SignalR hub protocol should you use to reduce message sizes?
MessagePack
JSON
BlazorPack
A client can send and receive messages to and from the server with what SignalR type?
IHubContext<THub>
HubConnection
SynchronizationContext
A server can't fire events from which SignalR type?
Hub
IHubContext<IHub>
SignalR is not ideal in what types of apps?
Apps that require high-frequency updates.
Apps with sparse or unreliable internet connectivity.
Apps that are designed for collaborating, monitoring, or based on notifications.
When the server supports WebSockets but the client supports only Long Polling, which transport is used?
WebSockets
Server-Sent Events
Long Polling
With a SignalR connection, which of the following statements is true?
Messages can be sent only from clients to the server.
Messages can be sent only from the server to the clients.
Both clients and the server can send messages to each other (duplex communication).
You must answer all questions before checking your work.
Was this page helpful?