Sunday, December 27, 2015

Do and Don't do When we using SharePoint Client Object Model


Please follow below steps in SharePoint Client object Model Development:


  • ClientContext.ExecuteQuery before accessing any value properties
  • Don't use value objects returned from methods or properties in the same query.
  • When we methods or properties that return client objects in another method call in the same query
  • Group data retrieval on the same object together to improve performance
  • Specify which properties of objects you want to return
  • conditional scope to test for preconditions before loading data
  • Use an exception handling scope to catch exceptions

No comments:

Post a Comment