New White Paper: Add HTML5 Document Viewer to ASP.NET MVC 5 Project

The latest update of LEADTOOLS V19 includes an MVC project using the LEADTOOLS DocumentViewer. Additionally, the services have been refactored so that the services configuration part of this paper is out of date and no longer applies. However, we have decided to continue to make this paper available because there is useful information on configuring CORS in IIS that applies to many different applications.

If you have any questions about how to use the LEADTOOLS DocumentViewer in an MVC application, please contact

This “How To” adds document viewing with page thumbnail navigation and full page view to an ASP.NET MVC 5 project. Additionally, add CORS for cross-domain requests to a web service hosted in IIS or IIS Express. The resulting project lays the foundation to add more advanced document functionality including text selection, annotation, bookmarks and conversion to an ASP.NET MVC application.

Add HTML5 Document Viewer to ASP.NET MVC 5 Project


  • Set up the LEADTOOLS Documents Service in IIS
  • Configure Documents Service Host to support CORS
  • Add LEADTOOLS HTML5 DocumentViewer control to ASP.NET 4.5 MVC 5 project

The HTML5 Document Viewer is a turnkey solution for viewing documents on any platform and device. The Document Viewer includes rich document features including text search, annotation, memory-efficient paging, inertial scrolling, scalable vector display, multi-page viewing, thumbnails and bookmarks. Additionally, the LEADTOOLS Document Viewer loads several document formats such as DOC, TIFF, and PDF without additional third-party plugins.

In addition to the PDF download format, we have also published this white paper on CodeProject.


Developer Advocate

    Find more about me on:
  • linkedin
  • twitter
  • youtube
This entry was posted in Document Imaging, HTML5, PDF and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *