Step-by-Step Deployment Process¶
This section outlines the standard deployment process for a new environment or major update.
1. Prepare the Web Server¶
- Install required Windows features (IIS, ASP.NET 4.8).
- Create an IIS Application Pool configured for .NET CLR v4.0, Integrated mode.
2. Deploy Application Files¶
- Create a folder on the web server (e.g.
C:\inetpub\wwwroot\ConproSoft). - Copy the
/appcontents from the solution package into this folder. - Ensure
web.config,touch-settings.json, and all subfolders are present.
3. Configure IIS Site¶
- Create a new IIS Site or Application:
- Physical path: the folder created above.
- Binding: set host name and port (e.g.
conprosoft.yourdomain:443). - Assign the previously created Application Pool to this site.
4. Restore or Deploy Database¶
- On SQL Server, create a new database or restore from backup.
- Apply any schema updates or migrations provided.
5. Update Configuration¶
- Edit
web.config: - Update the
MyCompanyconnection string to point to the target database. - Update
<system.net><mailSettings>with SMTP details. -
Adjust any environment-specific
appSettings. -
Edit
touch-settings.json: - Confirm
appNameand UI behaviour as required.
6. File Permissions¶
- Ensure the IIS Application Pool identity has:
- Read & Execute on the application folder.
- Write access to any BLOB storage or temp folders.
7. Test¶
- Browse to the site (HTTP/HTTPS).
- Confirm login, navigation, and key workflows.
- Verify email sending using a test action (if applicable).
Use the Go-Live Checklist to finalise the deployment once testing is complete.
Rollback — If Deployment Fails¶
If any step fails and the site is inaccessible or unstable after deployment:
Application Files¶
- If files were corrupted or incomplete during the copy, redeploy from the validated
/apppackage. - If the previous deployment was intact, restore from a file-level backup taken before deployment began.
Database / Connection String¶
- Revert the
MyCompanyconnection string inweb.configto the previous working value. - Confirm database connectivity before restarting the Application Pool.
IIS Configuration¶
- If the Site or AppPool was misconfigured, reset to the known-good settings:
- .NET CLR Version:
v4.0 - Managed Pipeline Mode: Integrated
- If the AppPool remains stopped after a restart, escalate to the hosting provider.
Smoke Test After Rollback¶
- Confirm the site loads at the original URL.
- Verify login and at least one key workflow (e.g. timesheet or requisition).
- If rollback restores function, document the failure point before reattempting the deployment.