I have few hundreds of files i need to upload to Azure Blob Storage. I want to use parallel task library. But instead of running all the 100 threads to upload in a f
Did you try use MaxDegreeOfParallelism? Like this:
System.Threading.Tasks.Parallel.Invoke( new Tasks.ParallelOptions {MaxDegreeOfParallelism = 5 }, actionsArray)