Hello All ,
Suppose we have an Web API (in c#) endpoint that receives some input to save basic Employee data and needs to process it. The processing is employee related some bussiness logical data updatation in multiple tables. This process can take a much amount of time and should not be executed synchronously within the HTTP request.
So i just want pass employee primary input in one queue then background service start work on updating data in multiple table.
Could you please share some sample code of web api and Queue with background service ,and background service must be use of same web api IIS for hosting service, i dont want to host background service in seprate server or instance .