Start Search
HomeProductsIndividual ProductsDynamic Template Engine Component
 Product Link
 Products
 NetXtremeDynamicTemplate Component
Download FREE Trial Version
  • Generate formatted text output from source template and input variables.

  • Component Version: 1.4

  • Royalty FREE

  • .NET Version: 2.x and 3.x

  • Source Code: Included in Gold License

NetXtremeDynamicTemplate is a .NET Template Engine for generating formatted text output from source template and input variables. Examples of such output includes Web Pages, Emails, Source Code, etc. By using NetXtremeDynamicTemplate you can strictly enforce a clean separation of design and development (MVC) on your web application.

NetXtremeDynamicTemplate is also included in the following suites which are bundles that include many additional components:

Sample Usage - Easily personalize an e-mail content sending to customers:

C# Sample
VB.NET Sample
public class Author
{
   
public string Name
    {
       
get { return "John Borders"; }
    }
}

public class Book
{
   
public int BookId
    {
       
get { return 100; }
    }
   
public Author Author
    {
       
get { return new Author(); }
    }
}

[STAThread]
static void Main()
{
   
// Create a new instance of the NetXtremeDynamicTemplate class.
   
NetXtremeDynamicTemplate dt = new NetXtremeDynamicTemplate();
   
// Load template from a string.
   
dt.LoadFromString("ID: $bk.BookId$ - Author: $bk.Author.Name$" +
                     
"\r\n" +
                     
"Length of the author's Name: " +
                     
"$bk.Author.Name.Length$");
   
Book book = new Book();
   
// Assign template's variable to the newly created object.
   
dt.SetValue("bk", book);
   
// Generate output.
   
string output = dt.Run();
   
Console.WriteLine(output);
}

More samples:

  • Click on tab to see more samples.

Copyright © 2008 Safabyte Co.,Ltd. All rights reserved.