pdf viewer

Hi, I need help implementing the control ejPdfViewer, showing a pdf from a rest api service. 
The service connects to the database to extract the file stored as varbinary.

thanks,


3 Replies

MS Mohan Selvaraj Syncfusion Team October 27, 2017 12:05 PM UTC

Hi Fabricio, 
 
Thank you for using Syncfusion products. 
 
We have created the PDF viewer angular sample with the Rest Web API controller service, Kindly download the sample and Web API controller service from the below link. 
 
 
 
Note: First run the Web API controller service sample and then set the URL of the Web API controller in the serviceUrl property of the PDF viewer control in Typescript file.   
 
We can load the base64 string, byte array and PDF filename which is retrieve from the database into the PDF viewer control in Web API controller side.  
 
If the provided sample is different from your requirement, kindly provide us more specific details that illustrates your exact requirement. It will be helpful for us to analyze more on your requirement and could provide you the better solution.     
 
Regards, 
Mohan S 



FA Fabricio October 27, 2017 12:14 PM UTC

Hi,

the example is Aspnet Core?

because the PdfViewerHelper does not work because of reference problems


SA Sabari Anand Senthamarai Kannan Syncfusion Team October 30, 2017 06:18 AM UTC

Hi Fabricio, 

Sorry for the inconvenience caused. 

We regret to let you know that we do not support PDF viewer control in ASP.NET Core platform. So the PdfViewerHelper class is not supported with the ASP.NET Core project. However, we have added this feature to our feature request list and it will be available in any of our future releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity.     
  
Please let us know if you need any further assistance.   
  
Regards,   
Sabari Anand

Loader.
Up arrow icon