I wish to download a large number of files with httpclient, performs some time consuming but not expensive computation on them, and then add the result to my database after running some query that shows that it is not already there.
How can I do this conceptually (just the locations of the awaits and the like would be helpful)
I currently have the following:
get list of addresses add (await the web page download, then continue processing) to a list of Task foreach element of the list, await on it, and then add it to the database.
However, it seems that this is essentially running it serially.
How should this be designed?