Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

groupdocs-total/GroupDocs.Total-for-NET-MVC

Repository files navigation

GroupDocs.Total for .NET MVC Example

Build status Codacy Badge GitHub license

⚠️ This repository has moved to https://github.com/groupdocs-total/GroupDocs.Total-for-.NET/tree/main/Demos/MVC

System Requirements

  • .NET Framework 4.5
  • Visual Studio 2015

All-in-one document automation API

GroupDocs.Total for .NET API is a suite of powerful, flexible and high-performance libraries which allows you to manipulate documents within your desktop solutions and web apps without requiring any other commercial application. GroupDocs.Total allows you to perform all kinds of operations (view, edit, annotate, sign, compare, convert, merge, search, parse, redact, etc) with PDF, DOCX, PPT, XLS, and over 90 other document formats.

This web application demonstrates the following document manipulation capabilities:

  • Document viewer
  • Annotate & write on documents
  • Digitally sign documents
  • Compare documents
  • Convert documents
  • Edit documents
  • Add, edit or remove metadata

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

Supported document Formats

Family Formats
Portable Document Format PDF
Microsoft Word DOC, DOCM , DOCX, DOT, DOTM, DOTX
Microsoft Excel XLS, XLSB, XLSM, XLSX, XLT, XLTM, XLTX
Microsoft PowerPoint PPT, POT, POTM, POTX, PPS, PPSM, PPSX, PPTM, PPTX
Microsoft Visio VSD, VDW, VDX, VSDX, VSS, VST, VSX, VTX
Microsoft Project MPP, MPT
Microsoft Outlook EML, EMLX, MSG
OpenDocument Formats ODT, ODP, ODS, OTT
Plain Text File TXT
Comma-Separated Values CSV
HyperText Markup Language HTML, MHT, MHTML, SVG
Extensible Markup Language XML,XML, XPS
AutoCAD Drawing File Format DGN, DWG, DXF
Image files BMP, CAL, DCX, DIB, EMF, GIF, JP2, JPG, MIL, MIL, PCD, PCT, PCX, PNG, PSD, RAS, TGA,TIFF,WMF
Electronic publication EPUB
Windows Icon ICO
Medical image files DCM

Demo Video

Coming soon

Features

Document Viewer with GroupDocs.Viewer

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Mobile support (open application on any mobile device)
  • Support over 50 documents and image formats
  • HTML and image modes
  • Fully customizable navigation panel
  • Open password protected documents
  • Text searching & highlighting
  • Download documents
  • Upload documents
  • Print document
  • Rotate pages
  • Zoom in/out documents without quality loss in HTML mode
  • Thumbnails
  • Smooth page navigation
  • Smooth document scrolling
  • Preload pages for faster document rendering
  • Multi-language support for displaying errors
  • Display two or more pages side by side (when zooming out)
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

Digitally sign documents with GroupDocs.Signature

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Mobile support (open application on any mobile device)
  • Support over 50 documents and image formats
  • Image mode
  • Fully customizable navigation panel
  • Sign password protected documents
  • Download original documents
  • Download signed documents
  • Upload documents
  • Upload signatures
  • Sign document with such signature types: digital certificate, image, stamp, qrCode, barCode.
  • Draw signature image
  • Draw stamp signature
  • Generate bar code signature
  • Generate qr code signature
  • Print document
  • Smooth page navigation
  • Smooth document scrolling
  • Preload pages for faster document rendering
  • Multi-language support for displaying errors
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

Annotate & write on documents with GroupDocs.Annotation

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Mobile support (open application on any mobile device)
  • Support over 50 documents and image formats
  • Image mode
  • Fully customizable navigation panel
  • Annotate password protected documents
  • Download original documents
  • Download annotated documents
  • Upload documents
  • Annotate document with such annotation types:
    • Text
    • Area
    • Point
    • TextStrikeout
    • Polyline
    • TextField
    • Watermark
    • TextReplacement
    • Arrow
    • TextRedaction
    • ResourcesRedaction
    • TextUnderline
    • Distance
  • Draw annotation over the document page
  • Add comment or reply
  • Print document
  • Smooth page navigation
  • Smooth document scrolling
  • Preload pages for faster document rendering
  • Multi-language support for displaying errors
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

Compare documents with GroupDocs.Comparison

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Mobile support (open application on any mobile device)
  • HTML and image modes
  • Fully customizable navigation panel
  • Compare documents
  • Multi-compare several documents
  • Compare password protected documents
  • Upload documents
  • Display clearly visible differences
  • Download comparison results
  • Print comparison results
  • Smooth document scrolling
  • Preload pages for faster document rendering
  • Multi-language support for displaying errors
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

Document converter with GroupDocs.Conversion

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Convert individual documents
  • Batch convert multiple documents
  • Drag and drop support
  • Mobile support (open application on any mobile device)
  • HTML and image modes
  • Upload documents
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

Document editor with GroupDocs.Editor

  • Responsive design
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)
  • Clean, modern and intuitive design
  • Edit, format documents
  • Mobile support (open application on any mobile device)
  • Support over 50 documents and image formats including DOCX, ODT, XLS
  • Fully customizable navigation panel
  • Open password protected documents
  • Download documents
  • Upload documents
  • Print document

Add, edit or remove metadata with GroupDocs.Metadata

  • Add Metadata to Office Documents
  • Edit or update Metadata in Office Documents
  • Remove Metadata from Office Documents
  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Mobile support (open application on any mobile device)
  • Support over 50 documents and image formats
  • Fully customizable navigation panel
  • Open password protected documents
  • Download documents
  • Upload documents
  • Print document
  • Smooth document scrolling
  • Multi-language support for displaying errors
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

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-total/GroupDocs.Total-for-NET-MVC

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/ 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/total
## Open http://localhost:8080/ 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.

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:

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

License

The MIT License (MIT).

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

GroupDocs Total on other platforms & frameworks

Resources