ASP.NET PDF Viewer Tutorial
How to open, view, update server side Adobe PDF document in web browser
How to read, view, write PDF file in asp.net c#, vb.net using asp.net pdf viewer web control.
Running EdgePDF Demo Project in IIS
After you download the free trial package of RasterEdge.DocImageSDK,
you can quickly open, view, markup, redact PDF documents in web browser without any programming.
Here, you can do it according to the following steps.
- In download package, go to EdgePDF ASP.NET PDF Editor demo project folder "/DemoProjects/EdgePDF Demo Project/"
Copy all contents in the above folder to the location, where you need run the demo project in IIS. For example: C:\\Sites\EdgePDF\.
- Copy corresponding DLL (x86 or x64) in the download package to the "Bin" folder of the demo project.
- After adding relative dlls, configure the Web.config :
- If your IIS server .NET framework is 4.0 or higher, please use the Web.config.
- If your IIS server .NET framework is 3.5 or earlier version, please copy the content in the Web(for .net3.5 or earlier version).config to Web.config.
- After above steps, you can deploy your demo web application to IIS server.
- Open Internet Information Services Manager;
- Right-click "Sites" and select "Add Web Site";
- According to your situation, set the "Site name", and set the "Physical path" to the place where you store EdgePDF demo project. Last, set the "Port" that monitors the application.
- Click ok to complete deploy your project;
- Grant user "IIS_IUSRS" full control permission to folder "{Demo project}/RasterEdge_Cache", where EdgePDF will generate cache files.
- Run the web application
How to open, view server side PDF files in EdgePDF
To open, view a server side PDF file in EdgePDF, please do the following steps:
- Create and add the follow sample documents to folder "c:\temp\"
- Make sure IIS application (User: IIS_IUSRS) has the read and write rights to the folder "temp“, and all files inside.
- In your web browser, navigate to http://localhost:[port number]/?yourtarget=/pdf-1.pdf.
- Now you can view a server side PDF file in EdgePDF in web browser
How to update the modifed PDF documents on the server side using EdgePDF asp.net pdf viewer
After you have modified the PDF document content in EdgePDF, you can go to toolbar tab 'Customize', click button 'Save Server'. Now you have updated opened PDF file with modified content.