I'm facing the following issue: I have a C# asp.net file upload form with a submit button. After the form is submitted the file is uploaded and post-processing is started. The point is that the post-processing can take up to several minutes.
I would like to create some kind of asynchronous call of the post-processing function with showing information to the user.
So, the steps should be:
- file form is submitted by user and upload is started
- after the file is uploaded some information is shown to the user (e.g. "Processing..." or some loading-bar animation, etc.)
- Meanwhile, the post-processing function is automatically started running in a background
- After the post-processing function is finished the user is automatically redirected to another page
When i was searching the Internet I've found several examples but mostly only about asynchrounous call of functions, asynchrounous file upload (PageAsync method, etc.).
Any idea or techniques I should use or some tutorial? Thanks in advance