Thank you. The youtube video helped me accomplish this. Do you have an example for AWS S3 rendering of pdf. I have 2 methods,1) a stream and 2) a presigned URL.
I have the stream coming down as a filestream and I quess I need to convert to bytes and then to base64 but I get an error that cannot convert filesstream to string.
var streamPath = AwsService.ReadFileAsync("123.pdf", "ABC");
byte[] bytes = System.IO.File.ReadAllBytes(streamPath);
DocumentPath = "data:application/pdf;base64," + Convert.ToBase64String(bytes);
Regarding presigned url, how do I assign a url?
public string DocumentPath { get; set; } = @"http:\\abc.com\test.pdf";
<SfPdfViewerServer DocumentPath="@DocumentPath" Width="1060px" Height="500px"></SfPdfViewerServer>