title: Can you force Parallel.Invoke to use multiple threads?
body: <p>I am using the task parallel library like this in a .aspx page:</p>
  
  <pre><code> Parallel.Invoke(
                  new Action[]
                      {
                          () =&gt; { users= service.DoAbc(); },
                          () =&gt; { products= service.DoDef(); }
                      });
  </code></pre>
  
  <p>Previously I was firing off a thread per call, and it was more responsive that it is now when I use Parallel.Invoke.</p>
  
  <p>Should I assume the TPL library will do what's best or is there a way for me to tweak it so it actually does calls in parallel?</p>
  
  <p>I guess it comes down to the type of hardware my website is running on, which I believe is a VM.</p>
  
  <p>Each of my calls makes a http request to fetch results from a API call.</p>