.NET Document Automation & Reporting API

API to Define Templates, Fetch Data Source, Insert Data in Template & Generate on the fly Reports in .NET Applications.

  Download Free Trial
.NET document generation API

GroupDocs.Assembly for .NET


GroupDocs.Assembly for .NET API helps you build powerful document automation and report generation applications with capabilities to generate reports from customized templates in C#, ASP.NET and other .NET related applications. With just a few lines of code, the .NET reporting library intelligently assembles the given data from the defined document template and generates beautiful reports in the preferred output format by fetching data from various data sources (databases, XML, JSON, ODATA, Custom .NET objects).

It supports LINQ-based template syntax, and users can easily generate output documents in all commonly used business file formats such as PDF, HTML, Outlook email, Microsoft Office Word, Excel worksheets, PowerPoint presentations and slides. Formatting properties for template elements are also configurable by manipulating text, HTML & conditional blocks, images, charts, barcodes, hyperlinks, pivot tables etc.

GroupDocs.Assembly for .NET can be used to develop applications in any development environment that targets .NET platform. It is compatible with all .NET based languages and supports popular operating systems (Windows, Linux, MacOS) where Mono or .NET frameworks (including .NET Core) can be installed.

Previous Next

GroupDocs.Assembly for .NET Features



Works with Multiple Data Formats


Capable to Manipulate Data using Formulae & Sequential Data Operations


Format Strings in Template Syntax to be Upper, Lower, Capital, FirstCap


Perform Ordinal, Cardinal, Alphabetic Numeric Formatting in Template Syntax


Define Variables in Template Documents & Support Text Comments within Template Syntax Tags


Dynamically Insert Contents of Outer Documents to your Reports


Dynamically Generate Barcode Image in Reports & Set Background Color for HTML Documents


Dynamically Assign Attributes to Email Message Body & Insert Hyperlinks in Reports


Dynamically Build Email Message Attachments


Support for Analogue of Microsoft Word NEXT Field


Update Fields while Assembling Word Processing Documents


Calculate Formula while Assembling Spreadsheet Documents


Format Numeric, Text, Image, Chart, Date-Time Elements of Template


Perform Conditional Text Formatting of Template Elements


Use LINQ-Based Syntax for Template


Change File Format of the Assembled Document using File Extension or Explicit Specs


Automatically Remove Empty Paragraphs


Supports Reports of Numerous Types, e.g., Charts, Lists, Tables, Images and more


Inline Template Syntax Errors in Generated Documents instead of Exception Throwing


Load Template Documents from HTML with Resources and Save Assembled Word, Excel, PowerPoint & Emails to HTML with Resources


Dynamically Add Restart List Numbering in Word Document Formats and Email with HTML & RTF Bodies

Support for Template Elements

GroupDocs.Assembly for .NET API gives you control to work with numerous template elements. You can work with formatted text blocks, HTML blocks, Images, Charts, Hyperlinks and Bar Codes (through Barcode Fonts). Repeated blocks & Conditional blocks are also supported including list items and table rows. You can also dynamically merge table cells containing the same text based on template expressions for spreadsheets, presentations, documents, and emails with HTML and RTF bodies.

Working with List Reports

Using GroupDocs.Assembly for .NET API, you can work with List Reports of following three types:

  • Bulleted List
  • Numbered List
  • Colored Numbered List

Working with Chart Reports

GroupDocs.Assembly for .NET supports following type of Chart Reports:

  • Bubble Chart, that displays three dimensions of data
  • Column Chart
  • Pie Chart
  • Scatter Chart
  • Series Chart (Colored)

Working with Table Reports

GroupDocs.Assembly for .NET supports following types of Table Reports:

  • Master-Detail Table
  • Table with Highlighted Rows
  • Table with Alternate Content
  • Table with Filtering, Grouping, and Ordering

You can also use Data Bands in table rows.

Easy Integration

You can easily integrate GroupDocs.Assembly for .NET API with your .NET application using just a few lines of code. Following is an example code for generating report in open document format:

Report Generation in Open Document Format using C#

//Instantiate DocumentAssembler class
DocumentAssembler assembler = new DocumentAssembler();
//Call AssembleDocument to generate report
assembler.AssembleDocument("D:\\WordTemplates\\Barcode.docx", "D:\\WordReports\\Barcode.docx", new DataSourceInfo(DataLayer.GetCustomerData(), 
//(See DataLayer.GetCustomerData() method details at https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-.NET)

Support and Learning Resources


GroupDocs.Assembly offers document automation APIs for other popular development environments as listed below: