1

First question: Why we don't need ctx.Load(web) before defining the List? I see that we use web object in defining the List

Second question: Why are we not calling ctx.Load() before ExecuteQuery method?

Picture CSOM approach

0

I’m no cso expert, but i think load just forces the objects to be downloaded to the client so you can reference them there. You are not referencing those objects on the client.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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