Eple
Eple
CC#
Created by Eple on 8/14/2024 in #help
Issue with ASP.NET Core and WCF Service Integration
Do you think I should reach out to the owners of the external service to ask about this? Or is there something else I should check on my end first?
5 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
If one is eager, one could apply a push request to C#'s GitHub and suggest this – though it would require some well written documentation.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
@ZZZZZZZZZZZZZZZZZZZZZZZZZ, yeah, I've looked for the same thing myself – typed out WhenAll in the IDE. Looked at the hints. Checked if it is possible to return the results.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
I think this code example is clean. It shows how the tasks first be awaited and then their .Result properties be read afterwards.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Tried checking the source code – too much work.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Thanks for the link! Man, someone from Microsoft Support should be able to answer these questions. Having worked in the techinical support branch myself, it would be my job to answer these kinds of questions.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Glad you could help.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
It sounds like I'm gonna take a deep-dive into C#'s source code in order to research things.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Okay thanks.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Thanks man
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Can I be so entitled and ask for an explanation to this?
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Okay, I sense a preferance towards the code posted in my original message.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
No description
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
No description
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Cool, I'll try it!
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
And thank you for your information regarding the ValueTask.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
but in general await multiple times is kinda the wrong pattern
The thought behind my original code is that the tasks will run in parallell, but the point of the await usersTask is to retrieve its results. Since it has been established that it will immediately return the result, then I think there's no problem.
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Okay, thank you for your answer. Your willingness to help is seriously appreciated!
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Especially the below part, as I think it contradicts somehow with your answer.
if you await a task that is already completed it returns immediately. You could await it several times on different threads and it would only return once it has the result (or is faulted).
53 replies
CC#
Created by Eple on 7/25/2024 in #help
Question regarding tasks
Hey @ZZZZZZZZZZZZZZZZZZZZZZZZZ, thanks for your answer. I found this via google: https://stackoverflow.com/a/38306418/11436180, can I ask you for your thoughts?
53 replies