Reputation: 9736
There is a website hosted on IIS and we have done code changes which need to be deployed.
If only code behind changes have been done, then I think only the dll in the bin folder needs to be replaced. If only the aspx file is changed, then only that file needs to be replaced and not the dll. Is this correct? Also, should we build and replace the files or publish?
Upvotes: 2
Views: 1323
Reputation: 8772
If only code behind changes have been done, then I think only the dll in the bin folder needs to be replaced. If only the aspx file is changed, then only that file needs to be replaced and not the dll. Is this correct?
Yes this is correct. In addition the update for *.cs, config etc files is the same for aspx. (not recommended: but you can even modify them inside the server by notepad).
Also, should we build and replace the files or publish?
Actually if you just copy the dll, it does not matter - you can just build. see this question: build vs publish
Upvotes: 2