Working with WebSockets for real-time communication scenarios

At the end of the previous section, everything was working fully automated as expected. However, there is still some room for additional improvements.

As it is, the client side sends periodical requests to the server side to see if the email confirmation status has changed. This may lead to a lot of requests to see if there has been a status change or not.

Furthermore, the server side cannot inform the client side as soon as an email has been confirmed, since it has to wait for a client request to respond to.

In this section, you will learn about the concepts of WebSockets (https://docs.microsoft.com/en-us/aspnet/core/fundamentals/websockets), and how they will allow you to further ...

Get Learning ASP.NET Core 2.0 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.