I need to take a Json file full of connection strings and use it to send the same query to all of the Databases.
My goal is to use Task
for it and then Task.WhenAll()
for getting all the results and return them to the client in an organised way.
I use asp.net core web api.
I had a hard time to get the results from the Task.WhenAll
return value and also I would like to know if there is a better way to achieve my goal.
yochai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1