Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

EWS + Async/Await

$
0
0

Hi!

I am currently migrating a .NET Windows Service to use the async/await pattern. The service is polling the Microsoft Exchange Server a lot via the use of Exchange Web Services Managed API.  Since the amount of mails is increasing quickly (around 10k/day), I am ask to improve it's throughput. Making the application parallel most likely will produce some issues due to Exchange throttling. Since the wait time is basically IO related not CPU, I thought it would be beneficial to use async/await and await the calls to Exchange.

Does someone have experience how to archive this? The EWS Managed API does not provide any async methods.

Many thanks in advance

Fabian


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>