C# Parallel Tasks gives MAJOR Speed Increase

I just used parallel tasks to decrease the time a process took from over an hour to about 2 minutes.  I was wary of creating so many database contexts, but it paid off in a major way!

See the snippet of code below to see how I used the Parallel.ForEach.  .Net created almost 100 threads during the execution.

Important
If you need someone with my ability to decrease processing times on a full time basis, please contact me through LinkedIn 

Have a great day!

Leave a Reply

Your email address will not be published. Required fields are marked *