PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Apr 12, 2021 7:26 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 12, 2021 8:09 pm 
Offline

Joined: Fri Jan 08, 2021 3:57 pm
Posts: 2
we have recently upgraded to Edge Chromium as a default browser. when doing so our MigraDoc PDF creations no longer render a PDF. the pages are now just opening in Visual Studio and showing what i'm assuming is the native MigraDoc code. not sure what version of MigraDoc we have but will the newest version run under Edge Chromium ?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 13, 2021 9:58 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 629
Location: CCAA
MigraDoc does not run under any web browser. You can use MigraDoc on web servers.
The web server is responsible for data sent to the browser, not MigraDoc. Upgrading MigraDoc probably will not make any difference.

Could it be that Edge displays the PDF file as a text file, not PDF? Then maybe your web server must specify a different content disposition.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 13, 2021 2:41 pm 
Offline

Joined: Fri Jan 08, 2021 3:57 pm
Posts: 2
thanks for the response. i think you're on the right track. i did some testing of the page (C#) and it seems that edge is losing the ContentType. we set that to "application/pdf" but when edge opens it, it's in the .aspx type. preliminary still but it seems like edge has a bug...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group