Which protocol does SignalR use primarily before falling back to other techniques?
- WebSocket
- HTTP
- FTP
- TCP
SignalR primarily uses the WebSocket protocol for real-time communication due to its low latency and bidirectional capabilities. WebSocket provides a full-duplex communication channel, making it ideal for applications requiring instant updates. SignalR gracefully falls back to other techniques like HTTP long polling or Server-Sent Events for compatibility with older browsers or network restrictions.
Loading...
Related Quiz
- You are developing an e-commerce site where user's cart information needs to be preserved across sessions even if they log out. How can you achieve this in ASP.NET Core?
- With the migration from project.json to csproj, which tool became instrumental in converting the configurations and dependencies?
- The session information in ASP.NET Core is stored using _________ by default.
- When optimizing EF Core queries, what tool or technique can be used to review the generated SQL statements?
- You are developing a web application with multiple views. You want to ensure a consistent look and feel across all pages. Which feature of Razor views allows you to define a common layout for your web pages?