Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Integration with Web services 1

Status
Not open for further replies.

Strannik

Programmer
Jul 4, 2002
132
UA
There's ASP.NET Web service which returns the database recordsets to ASP.NET web application.
The question is: what is the best way to minimize the network traffic ?
-- Use DataTable(DataSet) directly
-- Save DataTable to xml and pass the xml string to the client
-- Return recordset as array of objects.

Thanks in advance.
 
What I would suggest doing is adding Tracing to your web page (add Trace="True" to the Page tag at th top of your aspx page).

You will then be able to see information such as loading times etc which you can use to test all three scenarios.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Star to ca8msm for suggesting that testing be done first, preventing premature optimization.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thanks very much Chip - personally I have tracing enabled globally so I can view it on every page whilst I am testing as I think it's very good for spotting potential "bottlenecks".


----------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top