We have an aspx page that uses the Exchange Web Service API to access our Exchange Server 2010 system. The application retrieves reservations and displays the reservations on mobile devices. The application works fine except that the call to the AutodiscoverUrl() method takes a long time, up to 20 seconds.
We moved this call to the Application start so that it needs to occur only once in a while, usually for the first user of the day. But, I would still need to determine why this call takes so long. Does anyone have any thoughts on how to speed up this call?
Thanks,
jerry
This may be too obvious for the “why”: Because it’s doing a lot under the hood when you call the method, including making network connections, which are performance-intensive.
http://msdn.microsoft.com/en-us/library/bb204047%28EXCHG.140%29.aspx
This article provides a lot more informaiton, AND something helpful if this is an in-house process. (Italics added to help you find the performance section).
http://msdn.microsoft.com/en-us/library/ee332364(EXCHG.140).aspx