Last post Dec 03, 2018 02:00 AM by Brando ZWZ
Nov 27, 2018 10:09 AM|swagatraorane1986|LINK
I am using Parallel.ForEach for processing 60 file for 900 customers.
Not all customers are processed with parrallel code
Parallel.ForEach(DsCID.Tables.AsEnumerable(), row =>
string cids = row.ToString(); //customer id
//ect for 60 files
code not run for all customers please help
Nov 28, 2018 05:27 AM|Brando ZWZ|LINK
According to your description, I couldn't directly find out the reason about why all customers are processed with parrallel code.
Could you please tell me how you call these codes? From a asp.net webform code-behind or MVC controller?
What you mean about all customers are processed with parrallel code? Do you mean you find the codes is not running?
Is there any error message is thrown by your program?
If you could post more details information, it will be more easily for us to understand your issue and find out the solution.
Nov 28, 2018 08:50 AM|swagatraorane1986|LINK
its console application. We have customedata in one table. we are hitting multiple adwords API request for each customer and storing data in database.
I am logging each hit in a text file. There is no error neither log for some customer.
Dec 03, 2018 02:00 AM|Brando ZWZ|LINK
According to your description, I still couldn't find the reason.
Could you please post the details codes for us to reproduce this issue.
Besides, our forum is mainly talking about asp.net related issue, you requestion is related with C#, I suggest you could post in below forum.