Tarun D

Tarun D

  • 995
  • 1.3k
  • 83.3k

Can we Use Web Methods in Provider hosted app

Sep 13 2017 12:53 AM
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.

Answers (4)