Search code examples
asp.netuploadpublish

Publish only edited page in asp.net


Whenever I update a small part of my website I have to upload whole website again. If i upload only edited part it throw me exception.

The way I upload my website: For example if I have 4 pages (home, register, about me, contact me) and if I update home.aspx, I publish whole website in a local address, and then I compress it with zip format and upload it manually.

Is it possible to publish only updated part?


Solution

  • It is not possible to publish only a part of website, but what you can do is to choose Single-File Assembly build option ,by this you can get single assembly for your page.so intead of updating whole application you can update only the pages you change read more