Using .Net 8 on ASP.Net Web Application (.Net Framework)

Bobby Bob 0 Reputation points
2024-10-04T03:09:36.8266667+00:00

I want to use .Net 8 on my ASP.Net Web Application (.Net Framework). Presently the new project template only provides for .Net Framework 4.8.1

Is this even possible

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,839 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Lan Huang-MSFT 29,331 Reputation points Microsoft Vendor
    2024-10-04T05:35:15.3833333+00:00

    Hi @Bobby Bob,

    I want to use .Net 8 on my ASP.Net Web Application (.Net Framework).

    This is not possible.

    If you want to use .NET 8.

    You should create an ASP.NET Core (.NET) project instead of ASP.NET (.NET Framework).

    .NET vs. .NET Framework for server apps

    User's image

    User's image

    Best regards,
    Lan Huang


    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

    0 comments No comments

  2. Albert Kallal 5,251 Reputation points
    2024-10-04T19:49:19.55+00:00

    If this is a webforms application, then you stuck with 4.8. If this is a MVC project, then upgrading (migration) from .net framework to .net core should be relative easy. So, for a webforms project, it would require a complete re-write as a MVC project, and then once that is working, then your upgrade paths from .net to .net core becomes relative easy. So, how difficult this will be will depend on the type of project you have now.

    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.