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

apache - Cloudflare bug random 302 redirections -

java - Sql binding in Spring throws org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException -