Archives
-
Super XSLT
Here is a link to an interesting article about using CodeSmith as a form of XSLT.
-
CodeSmith Tools PDC Booth
CodeSmith Tools will have a booth at PDC this year! Be sure to stop by and say "Hi" next week at booth #122. If you are a current CodeSmith customer, we have CodeSmith t-shirts for you (first come, first serve) and if you aren't a current CodeSmith customer, we will be giving away some CodeSmith Professional licenses ($399 value) for those that stop by and scan their badge.
-
CodeSmith Tips & Tricks: Template Recursion
Here is a simple CodeSmith template that shows how templates can be recursively called, have indentation levels and render to a single output:
-
CodeSmith 3.1 Released
I'm happy to announce the release of version 3.1 of CodeSmith, a free upgrade for all users of CodeSmith 3.0. Version 3.1 adds additional capabilities to the highly successful version 3.0 release, including:
-
Announcing a New Larkware Contest
It's time for a new contest, and I'm one of the judges.
-
XML-based Code Generation with CodeSmith
Mike Gunderloy has just posted a new article about XML-based Code Generation with CodeSmith over at Developer.com. Mike does a great job of explaining the new XmlProperty feature in CodeSmith and how powerful it can be in using XML as metadata for your templates.
-
CodeSmith 3.0 Tips and Tricks
The presentation at the North Dallas .NET User's Group last night went awesome! The room was packed (over 265 people) and Rob Howard did an amazing job presenting CodeSmith 3.0 and getting people excited about it like I could never do. Rob is such a great speaker and it was very surreal seeing him doing a presentation on an application that I wrote. We recorded the presentation and we will hopefully have it available for everyone to see online in the near future. In the meantime, here is a link to the slides from the presentation.
-
DFW Area CodeSmith 3.0 Presentation (Plus $80,000+ Free CodeSmith Professional Licenses)
If you live (or can travel to) the Dallas/Ft. Worth Metroplex, please join the North Dallas .NET User Group on August 3, for a CodeSmith 3.0 Tips & Tricks demo-filled session by my partner Rob Howard. As an added bonus all attendees will get a *FREE* license to CodeSmith 3.0 Professional -- a $399 value!! -
Development Tool of the Year
Development Tool of the Year
“How many times you you been coding a business or data layer object and thought... "This is sooo repetitve there must be a better way." Well there is! CodeSmith is a template driven code generation tool. Now don't lose me... I know you heard code generation and are thinking this is some blue sky type of tool, but trust me this is the real deal.” … -
ARC305: Code Generation - Architecting a New Kind of Reuse
Scott Hanselman points out that his TechEd 2005 code generation talk is available online now. Scott is a great presenter and does a great job on this talk. Scott’s company Corillian makes extensive use of code generation techniques and CodeSmith is their code generation tool of choice.
-
Batch code generation with CodeSmith console
Batch code generation with CodeSmith console
… “I'm always keeping my eyes open for practical tools that save time and mental sanity. One of the most mentally-draining tasks is repetitious modifying of simple code. For example, many simple CRUD (Create-Read-Update-Delete) stored procedures, and their accompanying DAL and Business Objects are redundant. Ideally we could just auto-generate this given the inputs. Auto code generation is a great time saver, which frees us from boring tasks to focus on interesting ones.” … -
Expert .NET Delivery Using NAnt and CruiseControl.NET
I haven’t had a chance to read this book yet, but it looks like it will be full of great information. Chapter 9 talks about using code generation techniques (CodeSmith in particular) to aid in the delivery process.
-
CodeSmith is becoming really useful
CodeSmith is becoming really useful
… “Once the first XML to database process was finished, I used each of the major artifacts as the basis for a CodeSmith template. Using these templates, I was able to generate the next set in the time it took my colleague to work out why TeamTest was crashing when testing something using the Enterprise Library (i.e. a couple of hours).Once the first XML to database process was finished, I used each of the major artifacts as the basis for a CodeSmith template. Using these templates, I was able to generate the next set in the time it took my colleague to work out why TeamTest was crashing when testing something using the Enterprise Library (i.e. a couple of hours).” … -
CodeSmith as a job requirement
It’s a very cool feeling to see job postings that are listing an application that you built as a job requirement.
-
DNN300: Developing Custom DotNetNuke Modules
-
CodeSmith 3.0 Review by David Hayden
CodeSmith 3.0 Review by David Hayden
“… This is probably the defacto standard Code Generation Tool when working with databases. I have lost count as to how many templates I have to create web pages, usercontrols, business classes, data access objects, stored procedures, mapping files for O/R Mappers, etc. This is a must have tool to get you out of creating a lot of the monotonous plumbing associated with building applications. …” -
Is Dynamic SQL in Your Stored Procedures Vulnerable to SQL Injection?
Is Dynamic SQL in Your Stored Procedures Vulnerable to SQL Injection?
... article. Since writing sprocs as outlined in Erland's article can be tedious, I created a CodeSmith template that will do the work for you. You only need to input the table you wish to query, and CodeSmith will generate a complete sproc for you. ... -
ScriptTableData CodeSmith template that handles Text and NText data
Todd Carrico has posted a really nice modified version of the ScriptTableData.cst template. It handles text and ntext data types as well as adding some other nice features.
-
Google Earth!
I just had to say wow! Google Earth is awesome!
-
Rob Howard on .NET Rocks!
My partner Rob Howard also of Telligent Systems is on this weeks episode of the great .NET Rocks! internet talk show where he talks about his years with Microsoft working on the ASP.NET 1.0, 1.1, and 2.0 teams.
-
RTM on top of Whidbey Beta2 (and an ode to Code Generation)!!!
“Our application was just deployed in production on top of Whidbey Beta2!!! In addition to being a Whidbey success story, our application is a showcase for code generation techniques (and the great CodeSmith 2.6). In our DataAccess layer (about 4000 lines of code), a total of 10 lines were written by hand and that too to retrieve DB connection strings from configuration files. If we had been building on top of 1.1, we would have even bigger numbers for autogenerated lines of code) -- Whidbey generics eliminate the need to write code to create specialized collections of objects. In addition, we used xsd schemas to generate partial classes that were later extended using hand written code. If you ask me, creating a XSD file is much easier than defining a class and defining a whole bunch of get / set props (well, arguably the Whidbey IDE makes it trivial, but you get the point). The XSDs were processed using xsd.exe and XsdObjectGen (from MS). Both of these tools generate code from XSD definitions, but they work slightly differently. In addition, we used a couple of small homegrown tools to slightly tweak the output using regex (to change the generated class to "partial" for instance). Also, it's pretty worthwhile to have a tool that generates code intelligently based on some of timestamp mechanism so that build doesn't take a long time.”
-
CodeSmith Template Datatable Content Example
Dave Burke talks about using CodeSmith to generate type code enums from database table contents.
-
CodeSmith Generated Audit Log Triggers
Here is an article on The Code Project about how to use CodeSmith to generate audit log triggers for your database.
-
CodeSmith 3.0 Review
Mike Gunderloy reviews CodeSmith 3.0.
-
Don't Wait, Save Now!
“I really wish I had looked at Codesmith a year ago when it was first recommended to me. If you want to see some of the possibilities, download it, and then download the .NetTiers templates. If you run these you will be amazed not only at the code produced, but the comments, and even the NUnit tests!”
-
CodeSmith, Consistency and Elegance
“Consistency is its own reward: This fact cannot be overstressed at the project level and has real benefits at the shop level. Here are a few of the big ones. Pick a naming convention and stick with it. This works for code and stored procedures. It makes it easier for you and others to read your code.”
-
Simon Says "Using CodeSmith is Enjoyable"
“It took about 4 minutes to create the template, and using it is enjoyable. The alternative would have been unenjoyable. Thus, using CodeSmith is enjoyable.“
-
Scott Hanselman's 2005 Ultimate Developer and Power Users Tool List
Scott has updated his ultimate tools and powers users list for 2005:
-
CodeSmith 3.0 Released!
CodeSmith 3.0 is now available for download!! For more information about what's new with CodeSmith 3.0, please check out my CodeSmith 3.0 RC1 announcement.
-
CodeSmith 3.0 Release Candidate 1 Available!
CodeSmith Tools, LLC is pleased to announce the immediate availability of CodeSmith 3.0 Release Candidate 1. CodeSmith 3.0 is the latest version of the most powerful code generation tool on the market. With features such as template based code generation, a rich integrated template development environment, highly extensible metadata system that includes database schema and XML sources standard, and now statement completion all make building custom templates that much easier.
-
ASP.NET 2.0 Rocks!
I have been working with ASP.NET 2.0 for the past few weeks and it has been an incredible experience. There are just SO many great new things that it would be impossible to list them all. My personal favorites are master pages, ObjectDataSource, two-way databinding, and being able to register user controls globally in web.config.
-
Painless Project Management With Fogbugz
-
Visiting SQL - Part 1
-
Visual Studio Hacks - Tips & Tools for Turbocharging the IDE
I just got my copy of “Visual Studio Hacks - Tips & Tools for Turbocharging the IDE” and I’ve managed to read through the first couple of chapters and skimmed through a lot of the others. The book is full of great tips for making Visual Studio .NET even better than it already is. I highly recommend getting a copy.
-
Typed DataSets - much left to be desired
-
asp.netPRO Readers' Choice Awards 2005
asp.netPRO magazine is currently taking votes for their annual readers’ choice awards and CodeSmith has been nominated in the IDE category. I would rather have had it listed under the Utilities section, but I’ll take what I can get! If you are a fan of CodeSmith, then please take a minute to head over to their website and vote!
-
CodeSmith rocks!
-
CodeSmith or: How I Learned to Stop Worrying and Love Code Generation
CodeSmith or: How I Learned to Stop Worrying and Love Code Generation
-
3-Tiers Application templates for CodeSmith
-
CodeSmith Code Generation
Here is a link to a nice blog entry from Scott Elkin:
-
Lack of blogging...
I want to apologize for not blogging more often. In my defense, I was very busy trying to keep up with CodeSmith support, development, my other full-time job and various other things that I can’t discuss just yet. Stay tuned for some big announcements in the very near future…