task parallel library - MVP Winforms and TPL -


my application synchronous, using mvp. want introduce tpl pull report database takes number of seconds generate. have investigated threads , background workers , feel tasks way go.

where create tasks? in presenter? or create wrapper class tasks , use in presenter? use ioc inject presenter?

i thinking of unit testing too, how easy test method in presenter creates asyc calls?


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -