I have a loop that is executed in C# on the server that can take a minute or two to execute.
I would like to provide a progress bar that shows the progress through the loop.
So, with each record processed (or some predefined number of records) I'd like…