groupdocs-comparison / GroupDocs.Comparison-for-.NET-WebForms

Moved to https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-.NET/tree/master/Demos/WebForms
https://products.groupdocs.com/comparison/net
MIT License
1 stars 0 forks source link

GroupDocs.Comparison

GroupDocs.Comparison for .NET Web.Forms Example

version 1.7.0

Build status Codacy Badge GitHub license

:warning: This repository has moved to https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-.NET/tree/master/Demos/WebForms

System Requirements

Compare documents with .NET API

GroupDocs.Comparison for .NET is a library that allows you to compare PDF, DOCX, PPT, XLS, and over 90 other document formats. With GroupDocs.Comparison for Java you will be able to compare two or more files, perform style and text comparison and generate a detailed report with changes.

This application allows you to compare multiple documents and can be used as a standalone application or integrated as part of your project.

Note: without a license application will run in trial mode, purchase GroupDocs.Comparison for .NET license or request GroupDocs.Comparison for .NET temporary license.

Demo Video

Features

GroupDocs.Comparison

How to run

You can run this sample by one of following methods

Build from source

Download source code from github or clone this repository.

git clone https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-.NET-WebForms

Open solution in the VisualStudio. Update common parameters in web.config and example related properties in the configuration.yml to meet your requirements.

Open http://localhost:8080/comparison in your favorite browser

Docker image

Use docker image.

mkdir DocumentSamples
mkdir Licenses
docker run -p 8080:8080 --env application.hostAddress=localhost -v `pwd`/DocumentSamples:/home/groupdocs/app/DocumentSamples -v `pwd`/Licenses:/home/groupdocs/app/Licenses groupdocs/comparison
## Open http://localhost:8080/comparison in your favorite browser.

Configuration

For all methods above you can adjust settings in configuration.yml. By default in this sample will lookup for license file in ./Licenses folder, so you can simply put your license file in that folder or specify relative/absolute path by setting licensePath value in configuration.yml.

Comparison configuration options

Option Type Default value Description
filesDirectory String DocumentSamples Files directory path. Indicates where uploaded and predefined files are stored. It can be absolute or relative path
fontsDirectory String Path to custom fonts directory.
defaultDocument String Absolute path to default document that will be loaded automaticaly.
preloadPageCount Integer 0 Indicate how many pages from a document should be loaded, remaining pages will be loaded on page scrolling.Set 0 to load all pages at once
multiComparing String true Enable/disable multi comparing feature

Troubleshooting

How to set custom baseURL

BaseURL is fetched from address bar however you can set custom baseURL by adding forRoot parameter at app.module.ts

Example:

ComparisonModule.forRoot("http://localhost:8080")

License

The MIT License (MIT).

Please have a look at the LICENSE.md for more details

GroupDocs Comparison on other platforms & frameworks

Home | Product Page | Documentation | Demo | API Reference | Examples | Blog | Search | Free Support | Temporary License