I have a wcf method which connects to tfs server and downloads all the files based on the rootpath to the remote machine.
So I have 17K files and it takes 20 minutes to download and I want the progressbar to report the current status after every for loop present in the wcf service. But ref parameters don't get updated unless the entire method is completed when passed in wcf method.
Is there any other way to do it? I just want to report the status of a current for loop iteration happening in wcf method to my ProgressBar present in my local wpf application.