I have an application that when run as a windows application takes around 4 secs to compute, but when run as a webservice, it takes a long time to compute (until a timeout).
Do you have any idea what the problem mi开发者_开发知识库ght be? I am assuming that since the code is exactly the same, there are no problems such as infinite loops ..... it seems that it just takes longer.
Do you have an idea what might the problem be?
thanks
use profiler like dotTrace. it will show you all reasons of working slow
精彩评论