简体   繁体   中英

Async operations in MVC 4 with progress visualization

I'm using DevExpress Controls in my MVC 4 application.

I now want to use their PopupControl to display the progress of an asynchronous operation (mostly FTP / Http calls, that could take quite some time).

For this question, any progressbar (not neccessarily within a PopupControl) will do just fine.

As I'm aware, in MVC 3 you've used AsyncControllers for that, but to my understanding they're deprecated with MVC 4 (.NET 4.5). Is there any tutorial out there on how to accomplish my task?

You can use standard techniques to get process of the async operations. Once results are available, display them with a corrsponding HTML element (PopupControl, ProgressBar, etc.).

Check the How to display progress information about server-side callback processing sample in the DevExpress forum.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM