clientcontext

Create CSOM ClientContext with re-usability like singleton pattern

Deadly 提交于 2020-02-29 06:45:04
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Amna wants to draw more attention to this question: I need the accurate answer which will highlight how can making a static ClientContext object for reusability can affect? and what is the expiry of this context as when it is required to be refreshed? I have multiple methods being called on different user actions which is using ClientContext . Creating it on every method execution was causing