Upgrading from 8.0.x (.NET Framework 4.8) to 9.0.x (.NET 10)
appRules 9.0.x runs on .NET 10 instead of .NET Framework 4.8. Because the runtime, the web server and the Windows services all change, the upgrade is done by installing 9.0.x on a new server and moving your data across. The 8.0.x server keeps running until you switch users over.
OEM partners: rebuilding your connectors for .NET 10 and carrying your branding across are covered in the OEM partner documentation (sign-in required).
What changes in 9.0.x
Section titled “What changes in 9.0.x”| appRules 8.0.x | appRules 9.0.x | |
|---|---|---|
| Runtime | .NET Framework 4.8 | .NET 10 (Long Term Support, supported by Microsoft until November 2028) |
| Web server | appRules.HostService.exe |
appRules Kestrel Server service (appRulesPortal.exe), or IIS as host or reverse proxy |
| Windows services | appRules Host Service | Four services: appRules Portal, appRules Caching Service, appRules WebApi Service, appRules Scheduler Service. The Caching Service also runs the GarnetServer.exe caching engine |
See Self-Hosted Server Settings for how the four services work together.
Requirements for the new server
Section titled “Requirements for the new server”| Requirement | Details |
|---|---|
| Operating system | Windows 10/11, or Windows Server 2019/2022/2025 |
| .NET 10 Hosting Bundle (x64) | Base .NET runtime, ASP.NET Core runtime and the IIS hosting module — download |
| .NET 10 Desktop Runtime (x64) | Adds Microsoft.WindowsDesktop.App, required by the Wisej.NET UI framework — download |
| .NET Framework 4.8 | No longer required |
| IIS 10 or later | Optional. If you use IIS, the WebSocket Protocol feature is mandatory (see Web Site Installation on IIS) |
| Administrator rights | The installer must be run as Administrator |
The installer detects missing .NET runtimes and offers to install them. To check them yourself, run dotnet --list-runtimes: it must list a 10.x version of Microsoft.NETCore.App, Microsoft.AspNetCore.App and Microsoft.WindowsDesktop.App.
Ports to open
Section titled “Ports to open”| Port | Used by |
|---|---|
| 8080 (default) and/or 80 | appRules Kestrel Server service and/or IIS |
| 8082 (default) | appRules WebApi Service |
| 6379 | Caching engine (GarnetServer) |
| 443 | HTTPS, if you use SSL |
The full list is on Installation Prerequisites.
Before you start: on the 8.0.x server
Section titled “Before you start: on the 8.0.x server”- Note your version (8.0.x) and the address users use to reach appRules.
- Back up the databases: the setup database (the embedded VistaDB database in a standard installation) and every workflow group (project) database.
- Write down your settings from the 8.0.x configuration files: connection strings, ports, theme, and any links or e-mail addresses you changed.
Keep the 8.0.x server running until the new one has been checked.
On the new 9.0.x server
Section titled “On the new 9.0.x server”- Install the prerequisites listed above.
- Run the 9.0.x installer as Administrator (see Running the Installer). Choose the ports for the appRules Kestrel Server service and the WebApi Service.
- Restore or attach your databases from the 8.0.x backups, and update the connection strings in
appsettings.jsonif database server names changed. 9.0.x updates them automatically. - Re-apply your settings. Do not copy the 8.0.x configuration files over the new ones: the 9.0.x
Default.jsonandappsettings.jsoncontain new entries (see Configuration Files). Edit the new files and set your values again. - Check the theme name. The light theme was first called Classic. Saved user choices are converted automatically, but
Default.jsonmust nameappStrategyLight(orappStrategyDark), notappStrategyClassic. - Start the services in order: appRules Caching Service first, then WebApi Service, Scheduler Service and finally the appRules Portal (see Starting and stopping).
- Authenticate your licence on the new server, from the login page (see Running the Installer).
- Verify the installation with the Post-Installation Verification checklist. Then open and run each workflow: replace any activity that no longer works with its current equivalent, and test again.
Switching users over
Section titled “Switching users over”- Point users to the new server (update the DNS name or the link they use).
- On the 8.0.x server, stop the appRules Host Service and set it to Disabled, so the two versions never run against the same databases.
- Keep the 8.0.x server and its backups until the 9.0.x server has run your projects in production.