02 February 2006
Parsing User Controls into Server Controls
Ever need to turn a user control (.ascx) into a server control (.dll) file?
I have and had found a nifty little program on Code Project called ASCX Parser. The original project was pretty raw and only output C# code. At the time I was working mostly in VB.Net. I had a discussion with Pat Hynds about this at Code Camp a while back, too. Anyway, I recently had an email from Rob at HolonCom who saw my comment to Pat asking about the status of this.
My slightly less raw version is avauilable, and includes VB support. It's a 1.1 project and is pretty rudimentary, but it was able to get a lot of the “grunt work” out of the way. Feel free to use it, at your own risk;) Just let me know if you if you improve it at all and I'll post the updates here.
ASCXParserWithVB.zip
Comments