I'm working on MVC4 web application. This application allow users to interact with AD. The users can reset their passwords using same. However this whole task consume lot of time.
So at present, I had implemented swirl loading image to show user that the task is going on. Now my client wants to show progress bar in button itself as shown over here Buttons With Built-in Progress Meters or Progress Button Styles.
My idea was to get progress from server and update the progress style in button. I am able to discover how to report back to client the progress over Server by using SignalR with help of article at Reporting Server-Side Progress to Web Pages with SignalR.
The problem begins now. I am not able to discover how to measure that how much task of resetting password had been done and how much left.
So do you think these type of solutions truly feasible? If yes, please share with me any ideas or suggestions.