Easiest way of asp.net deployment
When it comes to deployment of asp.net projects there are several ways, as described for example on MSDN. Working with ASP.net for several years I’ve found the easiest way of deployment for myself is using zip / rar to pack an archive of updated files. This works very well in both company and personal webserver configuration:
- In company I’m not allowed to deploy directly to the live server (as this is an admin job)
- The admin needs to be able to easily deploy the changes to stage server and afterwards to live server.
- The admin needs to be able to identify the changed files easily.
- At home I upload the files to my IIS via FTP as that’s easier than connecting to the machine via RDP and starting an update installation.
- Previously at home with shared hosting I only had access to my webspace via FTP and not via Remote Desktop of course.
Bearing these requests in mind I created a simple batchfile which does this job for me. Continue reading