Tech Specs
Online Demo
How to

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.

  1. 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\.

  2. Copy corresponding DLL (x86 or x64) in the download package to the "Bin" folder of the demo project.

  3. 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.

  4. After above steps, you can deploy your demo web application to IIS server.
    1. Open Internet Information Services Manager;
    2. Right-click "Sites" and select "Add Web Site";
    3. 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.
    4. Click ok to complete deploy your project;
    5. Grant user "IIS_IUSRS" full control permission to folder "{Demo project}/RasterEdge_Cache", where EdgePDF will generate cache files.

  5. 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:

  1. Create and add the follow sample documents to folder "c:\temp\"
    • pdf-1.pdf
  2. Make sure IIS application (User: IIS_IUSRS) has the read and write rights to the folder "temp“, and all files inside.

  3. In your web browser, navigate to http://localhost:[port number]/?yourtarget=/pdf-1.pdf.

  4. 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.