In SignalR, which transport method does it fall back to if WebSockets are not available?
- Server-Sent Events (SSE)
- Long Polling
- WebRTC
- gRPC
SignalR is a real-time framework for ASP.NET Core that supports various transport methods. When WebSockets are not available due to network restrictions or browser compatibility, SignalR falls back to Long Polling. Long Polling involves sending a request to the server, keeping it open until new data is available, and then responding.
Loading...
Related Quiz
- The _______ property of the route attribute can be used to name a route, making it easier to generate URLs for it later.
- Which ASP.NET Core feature allows you to implement authentication and authorization logic to protect your Web APIs?
- When creating a custom Tag Helper, which class should it derive from?
- In the context of user registration in ASP.NET Core, what does validation primarily ensure?
- While developing an ASP.NET Core MVC application, you notice that a particular piece of logic is repeated across several Razor views. What would be the best way to encapsulate and reuse this logic?