2

There is a list that has around 100k items in a SharePoint Site Collection. This site has been customized to serve certain business requirements through visual webparts.

While, regular CRUD (create,update,delete) operations are done through CAML , I was recommended to use lists.asmx web service based operations in the visual webpart to achieve significant performance improvement over CAML.

I googled a little over this, but wasn't able substantiate this recommendation. Kindly point me in the right direction here.

1 Answer 1

5

There is absolutely no performanve improvement by using the lists.asmx web service over using CAML directly.

lists.asmx is just receiving your CAML passing it on to the SharePoint object model, format the result as XML.

Sending request/response over the network (even internal on the server) and formatting SOAP messages isn't going to speed up things when there is no other differences.

1
  • Precisely, my intuition was saying the same. Thanks Per as always. :)
    – ArkoD
    Oct 16, 2012 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.