Changes in ascx / aspx files - will it reset application

dragonfly picture dragonfly · Feb 16, 2011 · Viewed 13.8k times · Source

Changes in ascx / aspx files - will it reset application? Sometimes on dev server they won't cause it whereas on live server I think it sometimes causes it. What is the rule?

Thanks Pawel

Answer

Filip Ekberg picture Filip Ekberg · Feb 16, 2011

It depends on what you change in the file. If you just swap some markup that don't affect any code and the project is published with the "updateable" option, it will not re-compile your solution.

However if you change to much or change inline code, it will need to be re-interpreted / re-compiled, thus your applicaiton will "reset".