c# - Can we reduce the time consumed by AutodiscoverUrl in ExchangeWebsevice -


i using autodiscoverurl connect exchange server taking long connected ...is there way reduce time consumed..

have tried specifying url instead of using autodiscover?

m_exchangeservice = new exchangeservice(exchangeversion.exchange2010_sp1); m_exchangeservice.usedefaultcredentials = true; m_exchangeservice.url = new uri("https://exchange.company.com/ews/exchange.asmx"); 

you can find specific url first debugging application when you're auto-discovering.

however, main point of slowness may caused in connection exchange server, if that's case, you'll need solution connectivity issue outside of code (maybe security setup?).


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -