You are building a real-time dashboard which updates the user interface as soon as data changes on the server. Which technology in the ASP.NET Core ecosystem would be most suitable for this?
- SignalR
- WebSocket
- WebSockets API
- AJAX
SignalR is a library in ASP.NET Core designed specifically for real-time web applications. It allows server-to-client and client-to-server communication over various transport protocols, making it an ideal choice for real-time dashboards. SignalR abstracts away the complexities of WebSocket and other transport protocols, simplifying real-time communication.
Loading...
Related Quiz
- You've been asked to add a feature to your ASP.NET Core web application that allows live chat functionality. Which ASP.NET Core technology would help facilitate this feature?
- How can you override or bypass the [Authorize] attribute applied at the controller level for a specific action?
- The dependency injection feature in ASP.NET Core is:
- Your application uses ASP.NET Core Identity for authentication. During the security audit, it was pointed out that the application should enforce password reset every 90 days. How can you enforce this in ASP.NET Core?
- Your team is developing an audit system where every database update or insert should include a timestamp. However, you don't want to include this property in your entity classes. How would you implement this in Entity Framework Core?