This is a custom free web site (web application) deployment tool that will zip, upload, backup old and extract new version of site to remote web server.
(use gear icon in video to switch to HD resolution)
Features
- Upload possible via UNC (shared folders), FTP/SFTP or HTTP upload (contact me to send you code for last if not included)
- Zip compression during upload
- No install necessary at production server (for upload via shared folders)
- Automatic website backup before publish
- Automatic rollback in case of any error
- Live log monitoring during execution on client side
- Command line support (can be integrated into Visual Studio publish event or any batch-like execution)
Technical steps in detail
To be precise this tool will load configuration from .ini file, consider options that user selected on UI and:
- Pack all folders and files form LocalFolderOfPreparedSite except ones in ItemsInLocalFolderOfPreparedSiteNotToDeploy to WAD_NextSiteVersion.zip
- Upload WAD_NextSiteVersion.zip to UncPathToRootOfSiteOnServer (or, if you use ftp, to UploadFolderAsFtpUrl)
Upload Wad_NextSiteVersion.ini (which is a stripped down version of wad.ini with no passwords) also
Upload Wad.exe also
Upload Wad.aspx also - Uploaded Wad.exe will be activated (if you use ftp: using WadAshxUrl this tool will ping Wad.ashx page which will then start Wad.exe)
- This tool will be returning Wad.log content every 5 seconds and also link to UrlToTest
Wad.exe on server will: - Move all desired folders and files from root of website on server to folder BackupLocationOnServerAsPath except ones in ItemsOfSiteOnServerNotToMoveToBackup
- Copy folders and files indicated in ItemsOfSiteOnServerToCopyToBackup from root of site to folder BackupLocationOnServerAsPath
- Extract WAD_NextSiteVersion.zip
- Once local wad.exe receive success log content it will open UrlToTest in browser and close itself.
Minimum System Requirements
Developer's Machine:
Production Server Machine:
- Windows Server 2003 (or newer)
- .Net Framework 2.0
- IIS (Internet Information Services) version 6 or newer
- IIS 6 Management Compatibility (for IIS versions after 7)
License
This product is free. It is under MIT license.
Download
Other Projects
See my
other projects.
Comments