Set up and customize the integrated web server.
Reference → Installation → Folders | Licensing | Updates | SecureGateway | Web Server
Web Server Configuration (Reference) options for web services and remote access.
Default web service enabling remote access to solutions and web clients.
TWebServices enables:
Default port: 10108
Access: http://<ServerIP>:10108/solutions
If port 10108 is in use:
cmd
netstat -aon
tasklist
C:\Users\Public\Documents\FrameworX\MachineSettings\
TWebServices.json
Configure TWebServicesRunPrograms.json
in MachineSettings:
json
{
"appSettings": {
"RunPrograms": {
"Solution1": "path/to/solution.tproj",
"Program2": "path/to/program.exe"
}
}
}
Used for Linux/Docker deployments where Windows Services aren't available.
FrameworX/net8.0/
/home/FrameworX/
For enterprise deployments using IIS instead of TWebServices.
Run as Administrator from C:\Windows\Microsoft.NET\Framework64\v4.0.30319
:
cmd
aspnet_regiis -i -enable
ServiceModelReg.exe -r
Enable in Windows Features:
Add Application in IIS:
C:\Program Files\Tatsoft\FrameworX
Test: http://localhost/tprojectserver/service.svc
Add Application:
Add MIME Type:
.xbap
application/x-ms-xbap
Test: http://localhost/fx10/service.svc
system.webServer/httpCompression
application/json
xml
<!-- Comment HTTP -->
<!-- <security mode="None" /> -->
<!-- Uncomment HTTPS -->
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
cmd
TStartup.exe /project:MyProject /html5port:443
Issue | Solution |
---|---|
XAML apps disabled | IE Options → Security → Enable XAML browser applications |
Missing file errors | Reinstall product |
Firewall blocking | Test locally: http://localhost/fx10/TWebClient.xbap |
Insufficient permissions | netsh http add urlacl url=http://+:80/thtml5/+ sddl=D:(A;;GX;;;IU) |
Certificate errors | Add to Trusted Root Certification Authorities |