Runnable code for GroupDocs.Total for .NET — one package containing every GroupDocs document API: viewing, conversion, comparison, signing, annotation, editing, metadata, search, watermarking, merging, parsing, redaction and assembly.
The repository holds two things, for two different moments:
| What it is | Start here when you want to | |
|---|---|---|
Examples/ |
44 small console examples, one per feature, across all 13 products | Copy a working snippet for one specific task |
Demos/ |
Two complete ASP.NET web applications | See the APIs wired into a real app end to end |
Each example is a self-contained class that opens a sample file, does one thing, and writes an output — the same code published on the GroupDocs.Total documentation. Sample files sit next to the code that uses them, so an example runs with no setup.
# Run them all
dotnet run --project Examples/GroupDocs.Total.Examples.CSharp.Net/GroupDocs.Total.Examples.CSharp.Net.csproj
# List every example, then run one on its own
dotnet run --project Examples/GroupDocs.Total.Examples.CSharp.Net/GroupDocs.Total.Examples.CSharp.Net.csproj -- --list
dotnet run --project Examples/GroupDocs.Total.Examples.CSharp.Net/GroupDocs.Total.Examples.CSharp.Net.csproj -- --example ViewerRenderToHtmlTwo projects share one set of example code, so every example is proven on both runtimes:
| Project | Target | Package |
|---|---|---|
GroupDocs.Total.Examples.CSharp.Net |
net8.0 |
GroupDocs.Total |
GroupDocs.Total.Examples.CSharp.Framework |
net462 |
GroupDocs.Total.NETFramework |
See Examples/README.md for the full walkthrough.
Examples/is generated, not hand-written. Every example is extracted from the documentation by thedocs-to-code-examplespipeline, compiled, executed, and its real output published back into the docs page it came from. That is what keeps the two in step. Edit the documentation, not the generated code — a change made here is overwritten on the next run.
Complete ASP.NET applications showing document viewing, annotation, conversion, comparison, signatures, editing, metadata and search working together behind a UI.
| Demo | Framework | Path |
|---|---|---|
| MVC | ASP.NET MVC 5 | Demos/MVC |
| WebForms | ASP.NET WebForms | Demos/WebForms |
Open the solution for the one you want in Visual Studio 2022, build, run, and browse to http://localhost:8080/. Each demo's README covers its configuration and project layout.
| For | You need |
|---|---|
Examples/ |
.NET 8 SDK — the net462 project also needs .NET Framework 4.6.2 targeting packs |
Demos/ |
.NET Framework 4.8 and Visual Studio 2022 or later |
Everything runs in evaluation mode without a license, which adds trial watermarks to output. You can request a temporary license to remove them.
- Examples read the
GROUPDOCS_LIC_PATHenvironment variable, or pick up any*.licfile next to the executable. - Demos load from their
Licenses/folder, or fromapplication:licensePathinWeb.config.
- Product page: GroupDocs.Total for .NET
- Documentation: docs.groupdocs.com/total/net
- Developer guide: every product, with runnable examples
- API reference: reference.groupdocs.com
- Releases: NuGet · direct download
- Free support: Forum
- Paid support: Helpdesk
- Blog: GroupDocs.Total
This project is licensed under the MIT License — see the LICENSE file for details.