.NET upgrade to latest for Windows

AnnaG 161 Reputation points
2024-08-06T09:21:24.6333333+00:00

Dear all

Neede urgent hep please.NET status right now

We have two servers running .Net and need to upgrade to latest versioin v8. Can anyone share the steps? Is there downtime? Any risks or anything we should be checking first?

I can see an article onj this but seems complicated. Is this the correct article? Can we jump directly to the latest or is it a step to step process. I can see Runtime and core installed on the servers at present.

Found this link

https://learn.microsoft.com/en-us/dotnet/core/install/windows

Can someone break this down for me? Is this the right document?

Thank you.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,942 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,281 questions
.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,172 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
{count} votes

Accepted answer
  1. Jiachen Li-MSFT 32,451 Reputation points Microsoft Vendor
    2024-08-07T03:00:10.01+00:00

    Hi @AnnaG ,

    Downloading and installing the .NET Hosting Bundle is the correct process for setting up the .NET runtime on your servers.

    This bundle includes the .NET Runtime, ASP.NET Core Runtime, and IIS support.

    Best Regards.

    Jiachen Li


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


2 additional answers

Sort by: Most helpful
  1. Sander van de Velde | MVP 33,151 Reputation points MVP
    2024-08-06T17:11:27.46+00:00

    Hello @AnnaG,

    welcome to this moderated Azure community forum.

    Regarding installing the Runtime, yes, it can be installed using a Windows installer.

    Multiple runtimes can be installed on the same machine, without conflict.

    But you need to check the applications making use of it, the challenge is the applications making use of .Net.

    Please test you applications for being restarted on a machine .having .Net 7 installed anymore (I see .Net 6 is installed also).

    This could lead to an exception the required framework is not found.

    On the same page more information is available about eg. roll-forward behavior (If you already have a higher version of the required framework installed, you can make the application run on that higher version by configuring its roll-forward behavior).

    So yes, there are and you probably need to restart all your applications so testing the applications and consulting the developers (eg. to see if the applications can be upgraded to the newest .Net version) is highly recommended.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

  2. AnnaG 161 Reputation points
    2024-08-08T14:51:50.91+00:00

    No one mentioned the .Net upgrade Assisant though for apps. I was rading up on this and it was stated a lot of even developers refuse to upgrade because they dont know how.

    0 comments No comments

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.