Best Practice for Managing Multiple .NET Hosting Bundle Versions on the Same Server
Hi,
We currently have a self-contained .NET project (Project A) running on our Windows server, built with .NET Runtime 8.0.10. The application is hosted using IIS, so we also installed the .NET 8.0.10 Windows Hosting Bundle to support it.
Now, we are planning to deploy a new application (Project B) on the same server. Project B is expected to run on either .NET 9 Runtime (9.0.4) or the latest patch of .NET 8 Runtime (8.0.15).
We have the following questions regarding Hosting Bundle installation and compatibility:
1. If Project B uses .NET 9 Runtime (9.0.4):
- Do we need to install the .NET 9.0.4 Hosting Bundle in order to host this application via IIS?
- If we install the .NET 9.0.4 Hosting Bundle, can it coexist with the existing .NET 8.0.10 Hosting Bundle (which Project A requires)?
- Alternatively, can we uninstall the 8.0.10 Hosting Bundle and just use the 9.0.4 version for both projects? Would that be considered a better or recommended practice?
2. If Project B uses .NET 8 Runtime (8.0.15):
- Do we need to install the 8.0.15 Hosting Bundle in order to host this application via IIS?
- If we install the .NET 8.0.15 Hosting Bundle, can it coexist with the existing .NET 8.0.10 Hosting Bundle (which Project A requires)?
- Alternatively, can we uninstall the 8.0.10 Hosting Bundle and just use the 8.0.15 version for both projects? Would that be considered a better or recommended practice?
Both Project A and Project B are self-contained deployments.
We’d appreciate clarification on Hosting Bundle compatibility and whether version replacement or side-by-side installation is preferred in this scenario.
Thanks in advance!