Useful CodeSmith Templates
page 1 of 6
Published: 12 Mar 2008
Abstract
This article is an example of some useful codesmith templates that explains how they work. Brian illustrates CodeSmith at a more practical level, while getting some real-world examples as well. After a short introduction, he deeply examines the required steps to generate Web Control and Configuration Section Properties. He wraps up by showing how to generate AJAX Client Control Classes with the help of source codes.
by Brian Mains
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 31670/ 122

Introduction

In two previous articles, I wrote an introduction for CodeSmith that illustrated how to setup a template, along with another article using the SchemaExplorer assembly.  For the last article in the series, I want to display a couple of useful templates that may help you when you develop your own custom templates, or at least understand more about CodeSmith in general.

You probably know of something that you type over and over again, and even though there are similarities with other pieces of code you write, it is not quite the same. Coding it fresh is usually the best option.  Because of this, added time to development cycles occurs.

Enter CodeSmith tools. This suite of tools generates code for you the way that you want it to appear; all that is required is to write the template (it does not have templates that generate templates, that would be chaos).  Let us look at some examples.


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-10-04 3:52:25 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search