- Select the project from the Apps screen.
- Click the three dots next to the Preview button and select the option.
- When publishing is complete, the frontend and backend ZIP files are sent to the specified email address.
- Extract the ZIP files to the standard directory for IIS, C:\inetpub\wwwroot\.
Preparing IIS and Required Environments
- Operating System Windows Server 2019
- Database MS SQL Server 2019
- Web Server IIS 10.0xx
- Hardware Requirements: 32 GB RAM, 16 VCPUs, Xeon E5 2660 2.2 GHz
- SSL Certificates: Must be provided for each subdomain.
- Firewall: Allow ports 80 and 443.
- Installations: Install URL Rewrite and .NET 6 Hosting Bundle.
Building and Publishing the Application on IIS
- Frontend Setup:
- Click IIS > Sites > Add Web Site.
Web UI folder must be selected for frontend installation.
- Enter site name and select frontend files as physical path.
- If you are using SSL, select HTTPS and specify port 443.
- Enter the domain name in the Host Name field and check "Require server name display ”.
- Use IIS > Browse website to check that the frontend is running.
- Backend Setup:
- Create a new site for the backend following similar steps.
- If you are using SSL, select HTTPS and specify port 443.
In Application Pool settings:
- Right-click on the backend application pool, select Basic Settings > No Managed Code.
- To test the backend, check if it works by adding /swagger.