How to C#: HTML5 Viewer
Visual Studio .NET
Visual Studio .NET
Home ›› XDoc.HTML5 Viewer ›› C# Viewer: On Visual Studio .NET

C# HTML5 Viewer: Deployment in Visual Studio.NET

Tutorial of How to  Build Online Document Viewer in Visual Studio .NET

Quick to Run in Visual Studio

After you download the latest version of RasterEdge.DocImagSDK, then how to implement the same effect with the online demo? Here, you can do it according to the following steps.

Unzip the  download package  and you can find a project named XDoc.HTML5 Viewer Demo in the “Demo projects” folder. This demo is for your testing purposes.

Open VS, click “File” ->”Open”->”Web Site”, then locate test project.

Add Reference which is named RasterEdge.XDoc.HTML5Viewer.dll from the download package to your project. Once you do this, dependencies will automatically be included in your project.


Q: In project when testing web viewer control,get the error: Could not load file or assembly “RasterEdge.Imaging.Annotation”  or one of its dependencies. An attempt was made to load a program with an incorrect format.

  A: This is because Visual Studio uses a 32-bit web server internally.You can first debug width x86 dlls in Visual Studio mimic IIS environment.Once done debugging with x86 dlls, replace the x86 with x64 version of dlls to run in real IIS on the servers.