skip to Main Content

Can .NET 6 coexist on the same server with .NET 4.8 Framework? We have a .NET 3.1 application we want to update to .NET 6 but the same server also runs an application running on .NET Framework 4.8. However we can’t update this application at this time. We don’t want to install .NET 6 if we are going to blow up the .NET 4.8.

The closest answer I have found is this SO post, but it isn’t definitive and .NET 6 is a different animal than .NET 5.

2

Answers


  1. Absolutely, on my production server I am still running the main domain as .NET Framework 4.8, while I have created new subdomains running ASP.NET 6.

    So just go ahead (of course you should still test locally, that other things don’t interfere.

    I should say, that I am running both on IIS.

    One thing you should be aware of: If you want to run asp.net 6 in IIS ‘inprocess’ mode, then you need to create a new app pool for your new site, it can’t share it with .Net Framework 4.8. If you can’t do that, you must run in ‘outofprocess’ mode.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search