Monday, February 25, 2019

Using async/await in ASP.Net seems to be more trouble than it's worth?

I just converted one of my apps over to use Tasks with async/await and man... what a pain!!

For a site that only has around 10,000 hits per day, this seems like a lot of work for no benefit.

What I found is that you have to use a special flag in your TransactionScope to make it work and that it won't work in a .ForEach statement.

Is there another compelling reason to use the async/await in a smaller website? Or do you really only start seeing benefits when your hit counts are really big?

Using async/await in ASP.Net seems to be more trouble than it's worth? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team