Push data from WCF service to website

I have the following scenario, and I would like to know if there is a solution to achieve such a goal:

I have a WCF service running on a backend server, and it performs bulk data processing, for example, inserts records into the database, and I would like this service to send a message or notification as soon as the record has processed the web page (ASP page. NET), where this page should listen to these messages and display progress with completed tasks in real time.

Note. The WCF service is separate from the web page; This means that the WCF service process starts when another WCF service calls it on the server server, so the web page should only "listen" for updates coming from the WCF service.

In my research, I came up with SignalR, can this technology help me build a solution for such a scenario, or maybe there is some other way to achieve it?

+4
source share
1 answer

You can use XSockets.NET, there is an example on how to increase your WCF to forward messages over sockets to a web page here

2 lines of code in WCF will trigger a message to subscribers

+5
source

All Articles