28SignalR
OVERVIEW
With .NET you can use events to get notifications. You can register an event handler method with an event, also known as subscribing to an event, and as soon as the event is fired from another place, your method gets invoked. Events cannot be used with web applications.
Previous chapters covered a lot about web applications and web services. What was common with these applications and services is that the request was always started from the client application. The client makes an HTTP request and receives a response.
What if the server has some news to tell? There's nothing like events that you can subscribe to, or is there? With the web technologies you've seen so far, this can be resolved by the client polling for new information. ...
Get Professional C# and .NET, 2021st Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.