These samples help developers understand how to implement DocuVieware in web applications using various technologies.

These samples are for educational purposes and aren’t complete applications.

Most samples that demonstrate DocuVieware integration served by an independent REST service use the same project. Only the integration part — how the sample calls the REST service and renders the result — differs. If you use a web technology that isn’t included in the provided samples, refer to the JavaScript sample, as it’s the most direct integration, and it’ll enable you to integrate DocuVieware in your project regardless of the technology used.

Angular

This sample demonstrates DocuVieware integration using the Angular framework (also known as Angular 2+) through an independent REST service. The sample is available in different versions based on the Angular version you’re using.

  • For Angular 2, refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\angular2-rest folder in the downloaded ZIP.
  • For Angular 5 or 6, refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\angular5\~6-rest folder in the downloaded ZIP.
  • For Angular 7, refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\angular7-rest folder in the downloaded ZIP.

Samples for Angular 7 are more advanced than those for previous Angular versions. You’ll find two different projects: one is an Angular 7 implementation of the image cleanup demo(opens in a new tab), and the other is a demo showing how to use DocuVieware to adjust image contrast. Both demos illustrate how to use the DocuVieware custom actions mechanism in an Angular application.

AngularJS

This sample demonstrates DocuVieware integration using the AngularJS framework (also known as Angular 1.x) through an independent REST service.

For AngularJS, refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\angularjs-rest folder in the downloaded ZIP.

ASP.NET Core

Two different projects are available for .NET Core:

  • A .NET Core MVC application targeting .NET Framework 4.6 (not .NET Core Framework — DocuVieware requires .NET 4.6). Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\aspnetcore-mvc\_razor\_app_ folder in the downloaded ZIP.
  • A .NET Core project targeting .NET Core 2.0 that integrates DocuVieware through an independent REST service. Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\aspnetcore-rest folder in the downloaded ZIP.

ASP.NET

Three different projects are available for ASP.NET:

  • An MVC web application — Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\aspnet-mvc\_razor\_app folder in the downloaded ZIP.
  • A Web Forms web application — Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\aspnet-webform\_app folder in the downloaded ZIP.
  • A DocuVieware integration through an independent REST service — Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\aspnet-rest folder in the downloaded ZIP.

The ASP.NET MVC and Web Forms demo applications are more detailed than other demonstrations. They highlight many different aspects of DocuVieware and illustrate real-world use cases. Review them to find ideas and solutions for your own applications.

Java

This sample demonstrates the integration of DocuVieware into a Java application through an independent REST service.

Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\java-rest folder in the downloaded ZIP.

JavaScript (jQuery)

This sample demonstrates the integration of DocuVieware into an HTML page with JavaScript through an independent REST service.

Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\javascript-rest folder in the downloaded ZIP.

Node.js

This sample demonstrates how to retrieve a DocuVieware control in a Node.js application through an independent REST service.

Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\nodejs-rest folder in the downloaded ZIP.

PHP

This sample demonstrates the integration of DocuVieware into a PHP script through an independent REST service.

Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\php-rest folder in the downloaded ZIP.

SharePoint

This sample demonstrates the integration of DocuVieware into a SharePoint Add-in that can read documents directly in a SharePoint portal.

Refer to the [Installation Folder]\Samples\ASP.NET\DocuVieware\sharepoint folder in the downloaded ZIP.