0

I want to add a signature in each page of pdf so my question is can we use the third party DLL like itextSharp in provider hosted app in SharePoint?

1
  • 1
    You would be using that .dll in your .NET project not in SharePoint...
    – penleychan
    Commented Aug 2, 2017 at 12:00

2 Answers 2

2

The benefits of a provider-hosted App (if any...) is to off-load all the server-side code to a "third-party" server. This third-party server is anything you like (even PHP or Java if you like to rebuild all the oAuth token stuff in these languages). It is hosted anywhere you want (on your own premises, in the cloud, in Azure, ...). SharePoint/Office 365 {don't/cannot/doesn't want to} control what happens there.
You can do whatever you want with it (as per the policy of the hosting service you chose), including loading libraries, other DLL, etc.
So, in a word: yes, you can.

1

Just like you will add a third party dll to a .NET application you can add your reference to the AppWeb pf PHA.

You can add iTextSharp as a Nuget package as shown below : enter image description here

After adding the nuget package, reference will be updated as : enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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