Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

I am working on performance tuning of one ASP.NET3.5 and Ajax application. There is a Ajax cascading dropdown list that calls the service - CityListProvider.asmx. When I run the application while the Fiddler tool is capturing the requests/responses, I see that there are multiple calls made for the URL - CityListProvider.asmx/js.

I understand that CityListProvider.asmx/js is called to create the ajax client proxy, but why should there be multiple calls to create the proxy. It's not going to change every other time right? I am sure I am missing something here .. could someone please provide some direction on this.

Thanks,
Ramesh
Posted

1 solution

It is very hard to say with out looking at the code. Basically you should only see a call to your .asmx when there is an event that triggers a call to you, like selection changes.

Look at this CascadingDropDown page[^] I run it and noticed on Fiddler that the call the respective .asmx was done only when I changed a value in the drop down menu. Compare your page with that and see what is different, may be that will give you a hint.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900