@vladimir.litvinchik - It was the media middleware issue which was intercepting, so that’s now resolved. Other mentioned 4 issues are now sorted. Thank you.
Problem #1
With 8.1.2 - Letter size pdf pages are not fully visible on 100% default zoom level (need to scroll). Also There is no intermediate zoom level between 50 and 100 that we can explicitly set.
Previous 100 percent on 8.0.7 was properly resizing the page (no need to scroll)
Note - We load the viewer within iframe as below within cshtml file.
<iframe src="/viewer?file=sample_letter_size_5pages.pdf"
name="targetframe"
allowTransparency="true"
scrolling="no"
frameborder="0"
style="height:1200px;width:100%;"
id="groupdocs_viewer_frame_1">
</iframe>
Viewer_8.0.7_LetterSizePage_FullyVisibleOn100PercentZoom.png (29.6 KB)
sample_letter_size_5pages.pdf (3.7 KB)
Viewer_8.2.1_LetterSizePage_NotFullyVisibleOn100PercentZoom.png (36.4 KB)
I have attached screenshots and sample pdf for reference
Problem #2 -
Issue #1 still exists when ran on azure app service, as it still uses azure’s hostname (suffixed with azurewebsites.net rather than what user has entered in url bar.).
I have added workaround suggested on following again and change in buildUrl method as below so it takes relative irrespective of the domain and what domain user typed in web browser.
string basePath = $"/{apiPath.TrimStart('/').TrimEnd('/')}/{apiMethodName.TrimStart('/')}";
var queryString = BuildQueryString(values);
return string.IsNullOrWhiteSpace(queryString) ? basePath : $"{basePath}?{queryString}";
Could you please check the issue again and fix?