Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Applications » Downloads
 
Add your own
alternative version

Write your own Code Generator or Template Engine in .NET

, 26 Sep 2006
This paper demonstrates building a code generator, template engine, template parser, or template processor in .NET. The demo implementation uses cutting edge .NET technologies available today such as C#, .NET 2.0, MS Provider Pattern, Enterprise Library January 2006, CodeDom etc.
smarttemplateengine_src.zip
Src
bin
DemoTemplates
EntLibHelper
EntLibHelper.csproj.user
obj
Debug
EntLibHelper.dll
Refactor
TempPE
Reference
Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll
Microsoft.Practices.EnterpriseLibrary.Caching.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
Microsoft.Practices.EnterpriseLibrary.Logging.dll
Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll
Microsoft.Practices.ObjectBuilder.dll
Providers
Configuration
obj
Debug
Refactor
SmartTemplateEngine.Providers.dll
SmartTemplateEngine.Providers.dll
TempPE
ProviderDiagram.cd
Providers.csproj.user
System
Configuration
Providers
Providers
GenerateOutputProvider
ParseTemplateProvider
References
Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll
Microsoft.Practices.EnterpriseLibrary.Caching.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll
Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll
Microsoft.Practices.EnterpriseLibrary.Logging.dll
Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll
Microsoft.Practices.EnterpriseLibrary.Security.dll
Microsoft.Practices.ObjectBuilder.dll
nunit.framework.dll
SmartTemplateEngine.Entities
EntitiesDiagram.cd
SmartTemplateEngine.Entities.csproj.user
SmartTemplateEngine.ImplementedProviders
GenerateOutputProvider
ImplementedProvidersDiagram.cd
ParseTemplateProvider
Properties
SmartTemplateEngine.ImplementedProviders.csproj.user
SmartTemplateEngine.Util
Properties
Util
SmartTemplateEngine.WindowsApplication
DemoTemplates
images
NewDocument.bmp
OpenSelectedItem.bmp
Run.bmp
Save.bmp
log
Properties
Settings.settings
SmartTemplateEngine.WindowsApplication.csproj.user
SmartTemplateEngineSolution.gpState

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Shahed.Khan
Web Developer
Australia Australia
I have been awarded MVP (Visual C#) for year 2007, 2008, 2009. I am a Microsoft Certified Application Developer (C# .Net). I currently live in Melbourne, Australia. I am a co-founder and core developer of Pageflakes www.pageflakes.com and Founder of Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Simplexhub.
My BLOG http://www.geekswithblogs.net/shahed
http://msmvps.com/blogs/shahed/Default.aspx.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 26 Sep 2006
Article Copyright 2006 by Shahed.Khan
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid