title: How can I get feedback to the UI on a long running process in MVC?
body: <p>I have a large folder of photos (36Gb) that I want to rename, move and check for duplicates. I'm tackling the renaming and moving of the files first. I created something similar as a console app a while back which worked but provided no mechanism for giving feedback on progress to a UI, so this would just appear to hang for almost an hour before completing.</p>
  
  <p>If I want to do this in MVC how can I utilise an api endpoint or controller action to fire a service and get a response every time a file is renamed and moved? I'd like to be able to count the number of files and then have the UI update with 2323 of 10000.</p>