I need to create a pdf from .aspx, but without using wkHtmlToPdf or iTextSharp, because they need the url from the page and it dosen’t work to me because I have security in my site so when I try to print the site it send me to default page.
Someone has any idea how can I do it?
Thank you in advance.
I use EvoPdf so my solution is going to be different to yours, but I ran into the same problem with an app (vb.net unfortunately) using forms authentication. My solutions was as follows. The key piece was setting the cookie of the Pdf library to those of the authenticated account.