I need to make some parallel code on my server side . I’m aware to the async feature in . Net 4.5 .
But I need to implement it in . Net 4 .
How can make the parallel code and wait till it finishes. Is there an example to do it with TPL library .
My server side is a Wcf service , I make calls to the db sequentially till get final result . These calls can be parallel and get all the data for short time .
Thanks in advance .
I need to make some parallel code on my server side . I’m aware
Share
Create worker class:
Call your class: