Best Practice for Managing Multiple .NET Hosting Bundle Versions on the Same Server

Song Xu 0 Reputation points
2025-04-25T04:25:08.7166667+00:00

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!

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,230 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.