Merge Templates with Mustache Syntax in C#

July 9, 2024
TX Text Control provides a powerful, MS Word compatible MailMerge engine that can be used to merge data into templates.

TX Text Control .NET Server for ASP.NET is a server-side component that equips developers with a powerful word processing engine for web applications. It integrates seamlessly with ASP.NET, ASP.NET Core, popular frameworks like Angular and React, and JavaScript, allowing you to build dynamic document editing and generation features directly within your web applications. This empowers you to create documents on the fly using data from various sources, edit existing documents in the browser, and handle functionalities like PDF processing and form filling, all on the server-side.

Mail Merge is a fundamental requirement for word processing applications. In this blog post, Text Control's Bjoern Meyer shows you to use Mustache Syntax with your TX Text Control web applications to insert merge fields into templates in formats that do not support MS Word merge fields, such as TXT or HTML. He also demonstrates how to use merge block to repeat content based on a collection of items. Detailed code is included to get you on your way.

Read the full blog and discover the power of using mustache syntax along with TX Text Control's MailMerge engine.

TX Text Control .NET Server for ASP.NET is licensed per Developer and includes Run-time licensing for up to 5 Servers. Licensing is perpetual, and include a 1-year subscription. See our TX Text Control .NET Server for ASP.NET licensing page for more details.

Learn more about TX Text Control .NET Server for ASP.NET.