Azure ServiceBus & async - To be, or not to be?
问题 I'm running Service Bus on Azure, pumping about 10-100 messages per second . Recently I've switched to .net 4.5 and all excited refactored all the code to have 'async' and 'await ' at least twice in each line to make sure it's done 'properly' :) Now I'm wondering whether it's actually for better or for worse . If you could have a look at the code snippets and let me know what your thoughts are. I especially worried if the thread context switching is not giving me more grief than benefit, from