开发者

Slow POST to ASP.NET MVC site from Webforms site

开发者 https://www.devze.com 2023-01-04 10:33 出处:网络
We have a WebForms+MVC 1.0 application where the WebForms site posts an encrypted string to an action in the MVC site which then displays a details view. However in our (clustered) test environment, t

We have a WebForms+MVC 1.0 application where the WebForms site posts an encrypted string to an action in the MVC site which then displays a details view. However in our (clustered) test environment, t开发者_开发百科he post from Webforms can take close to a minute before displaying the MVC view. The MVC action makes a WCF service call to get customer data from an Oracle database. This "slow post" effect only occurs when a user access the application for the first time - the second time around the response times are fast. Any ideas what could be causing this initial slow response time? Does it have to do something with the MVC routing? We don't experience this in our dev server environment.

Thanks


Are you sure that the MVC application is up and running when the first request comes in? The delay might simply be its load time.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号