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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -