Thursday, 15 May 2014

c# - Fire and forget with GetResponseAsync -



c# - Fire and forget with GetResponseAsync -

am trying accomplish fire , forget situation httpwebrequest getresponseasync without setting await on it. there potential dangers on looking?

yes, there many "potential dangers" around using fire-and-forget on asp.net.

in general case, can utilize fire-and-forget if don't care whether code gets executed or not. have more details on blog , so phil haack.

c# asp.net-mvc-3 asp.net-web-api httpwebrequest

No comments:

Post a Comment