c# - Deployment practices for .NET -
i have new application deploy managed server have signed for. know best way deploy it. in experience have seen many of asp.net applications push dlls server. how achieved?.
i have tortoise svn subversioning system. have repository on server , commit changes , update release folder in managed server has .aspx, solution , other files belive not needed. how can set push dlls , when updating dlls updated?.
i not clear on , explanation , best practices given scenario.
i have faced similar questions before , follow below steps every time move compiled files incremental fixes in application.
maintain 2 separate copies of solution files - local application , production application //this important because once go production environment. 1 copy local working , other copy deploying in live server. copy should date live server copy.
make changes files , compile , test application in local application folder/solution. commit files edited. svn take care of this. show possible "red mark" files differ updates present in repository. in way can track pages modified.
now open open production solution folder , update folder. update files in production application folder.
now compile , test changes done. verify if issue fixed or changes reflected same local application copy. build application , publish folder.
to know modified files:
dlls:
go bin location of folder , "order by" modified date. these dlls copied , replaced in life server.
aspx/ascx
a) open svn of production application folder. right click , click show log. show files modified/updated date. select ones last updated , note down location.
b) navigate location in published folder , select files "ordered by" descending/ascending modified date of files. replace files alone live server.
note: not best possible solution, 1 of general practices followed throughout industry. there few other plugins can track changes , publish relevant files published folder. again ,this applicable if have source codes , application files in same machine of 1 hosting application from. let me know if have question in this.
Comments
Post a Comment