by Bobbi Perreault
3. July 2008 01:38
Share on Facebook
I'm working on an application with a short development timeline and I needed a tool to generate some code. Since I've been using Subsonic for a few years now, ever since my first Commerce Starter Kit project, it was the natural choice for the job.
It took a few hours to get my templates plugged in to the Subsonic source, but was so worth it. The end result is I've added a template for the Xaml and one for the Xaml code behind, plugged in all the access points for the new templates, and added it to the Website code generator project. Once I pointed that at the database, wala, I just saved many hours of typing.
I use this generated code as a base for a control library, then customize each XAML file together with it's code behind from there. In the project I'm working on, I had immediately 54 controls as soon as I ran the Subsonic Project code generator against my datasource.
Whooo Hooo. I love it. Thanks, Rob and all you others who work so hard on Subsonic. I am more than happy to share this - my email is bcp@faxt.com and write if you are interested in the code.