We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Synfusion Blazor pdf viewer server not rendering in Azure

Hi,

Synfusion Blazor pdf viewer server not rendering in Azure. It's working fine in my local


5 Replies

VV Visvesvar Venkatesan Syncfusion Team March 14, 2023 12:58 PM UTC

Please provide more details as requested:


  • Whether you are hosting the sample in Linux or windows environment.


  • The Nuget package details and its version.


  • Whether you are rendering the component inside a container


This will help us to analyze further and provide more details.



MA MENTA ANIL KUMAR replied to Visvesvar Venkatesan March 14, 2023 01:34 PM UTC

Environment : Windows

Nuget package : Syncfusion.Blazor.PdfViewerServer.Windows; Version="20.2.0.48"

Sample code:

<SfPdfViewerServer DocumentPath="@fileName"></SfPdfViewerServer>





VV Visvesvar Venkatesan Syncfusion Team March 15, 2023 11:08 AM UTC

Thank you for your details.


We found that you have created a ticket for the reported query. Kindly follow that ticket for the further update regarding the reported query.



AR Artilizansa replied to Visvesvar Venkatesan April 3, 2023 01:53 PM UTC

Hello Support Team,


I have a similar request .. Some PDFs are produced and stored on an Azure Storage. Tha URL to this blobis similar to  https://myprivatestorage.blob.core.windows.net/documents

Off course, this is blob with private access.

How can I use the PDF Viewer with such URL and specifying the needed azure account key?

Thank you in advance.



VV Visvesvar Venkatesan Syncfusion Team April 5, 2023 11:10 AM UTC

We don't have direct support to load the document from Azure storage/private URL. However, we can achieve it in the sample by retrieving the document as a stream from Azure storage or a private URL before loading it into the PDF Viewer. Once we get the document as stream then we can load it into our PDF Viewer control.


Kindly find the documentation below for loading the stream.


Documentation: https://blazor.syncfusion.com/documentation/pdfviewer/how-to/load-pdf-document-dynamically


Kindly try this and let us know if you have any concerns.


Loader.
Live Chat Icon For mobile
Up arrow icon