locked
Advice taking code as the second site RRS feed

  • Question

  • User1875103539 posted

    Currently I have a website using ASPX source. Because little knowledge of code, so I do not know how to back up this code on my personal computer in any way. Because I want to use the code of existing web page this code for a second site that I intend to do in the near future. So you help me to show me how to use the page's code to do more running second website domain name that I had. Please thank

    Saturday, December 6, 2014 2:05 AM

All replies

  • User541108374 posted

    Hi,

    backup the .aspx, .aspx.cs and .aspx.designer.cs files. Also take a look in the .aspx page if it uses user controls. If so also backup those.

    Usually reusing an entire page is not the way to go. If you have things that can be reused either create a user control or dedicated custom webcontrol for it. That last one is usually the preferred way to be used as building blocks like a grid control or any other easy to reuse part.

    Grz, Kris.

    Saturday, December 6, 2014 7:46 AM