posted 11 years ago
Hello Guys,
I am working on web application, which open a pop up when it starts. Data required for this pop up come by webservice. This webservice execute query in DB and return a instance of UserDefined class. I get data from this userdefined instance.
Problem is: this web service is very slow, Some times I got response in appx. 10 second. I need to do some performance optimization in web service code. So Please suggest me, where I can optimize code?
Doubt: 1) It is a good practice to send directly object in web service response instead jason object or XML in web service response?
2) what should be waiting time for web service response?
Please reply.
Thanks in advance!!!
Saurabh