We are developing our web application in ASP.NET MVC 3 Razor with Backend Oracle 11g. At present we are having a requirement of Generating PDF from the Website. The content of the PDF will be fetched from different tables in the Database. While refering
a sample PDF that we have to generate i found that there are approximte 300+ pages and the file size is about 5 MB. The PDF includes data and image as well. Which is the method for doing this. I believe the generation of PDF from a web page event ,with such
large content will slow down the server. If so, is there any other methods that can be adopted in such cases. Please Help!
Retheesh Bal...
0 Points
1 Post
PDF File Generation from Webpage
May 24, 2012 10:36 AM|LINK
Hello All,
We are developing our web application in ASP.NET MVC 3 Razor with Backend Oracle 11g. At present we are having a requirement of Generating PDF from the Website. The content of the PDF will be fetched from different tables in the Database. While refering a sample PDF that we have to generate i found that there are approximte 300+ pages and the file size is about 5 MB. The PDF includes data and image as well. Which is the method for doing this. I believe the generation of PDF from a web page event ,with such large content will slow down the server. If so, is there any other methods that can be adopted in such cases. Please Help!
thanks
Retheesh
Mudasir.Khan
All-Star
15346 Points
3142 Posts
Re: PDF File Generation from Webpage
May 24, 2012 12:17 PM|LINK
when the user click on the generate pdf link
1) ask his email address and start the process offline save the pdf on the server and send the link by email.
2) have the pdf generated when the traffic is low or when data is new etc. and just download when user clicks on link