I want to create a Web Template programmatically in Sharepoint 2010.
I have read Vesa "vesku" Juvonen blog where he creates a web template using the elements.xml file and onet.xml file, but i want to do this programmatically.
Is this possible? Are there any blogs or code sample that show how to do this?