In general, "Web Worker" is an ASP.NET web application or site / service that processes requests from a user. A help desk worker is simply a planned task. It runs in the background, at certain intervals, and runs some code.
The difference is that the web worker does some work when a new request arrives at the application. A request means that someone is loading a page / calling a web service on ASP.NET. While the background worker starts at some interval and the user does not need to load the page to be executed. It is mainly used to handle long-term tasks. Normal workflow - a web worker receives a request from a user and queues some data for processing. At the next start, the background worker receives the data and processes it and saves the data somewhere (usually in the database). Then the web worker at the next request from the user checks the database and, if there is a result, shows it to the user.
Thus, the user does not need to wait until the asp.net page processes the data and immediately returns the result.
Tisho
source share