I am developing a provider hosted app (Web Forms) for SharePoint Online hosted in Azure.
I am trying to implement the Web Method in the provider hosted app, but cant proceed further because all the web Methods are static. How can i get the Context in the Web Method.
If I create a Web Method without using the Context (normal function with static json object) its working fine.
Can we use Web Methods in provider Hosted Apps.?
Anyone suggest a way to move further or other approach to meet my requirement.


Manpreet SinghRank #15 · 50.7K reputationPosted Oct 12, 2017, 6:00 PM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Mar 7, 2018, 10:24 PM EST
Piyush AgarwalRank #1,377 · 1.2K reputationPosted Mar 7, 2018, 9:17 PM EST
vasu v71 reputationPosted Aug 21, 2018, 3:39 AM EDT