Need to generate code

I have an .aspx template to copy from and I need to generate code or to be able to edit the new file – as part of the back office…

I do not understand what it is that you want to do? Do you have any existing code you tried?