0

I have upgraded my project from .Net 4.8 to .Net8, after upgrading I am getting errors related to System.Web.UI. Can someone suggest how I can resolve this or what is the alternative of System.Web.UI in .Net8?

Found some articles but are not useful.Screenshot of the error I got:

5
  • 1
    what are you trying to replace that was in System.Web.UI ? Commented Mar 12, 2024 at 11:06
  • Can you share the screenshot including the error message that you are facing now? Commented Mar 12, 2024 at 11:36
  • 1
    stackoverflow.com/questions/42599341/… Commented Mar 12, 2024 at 11:39
  • There's no alternative. WebForms was never migrated to .NET Core and .NET 8 is .NET Core 8 nor are there any plans or community projects for this. There's no interest. WebForms was already a legacy application by 2012. Even the WebForms Migration guide only shows how to use the legacy WebForms app side-by-side with a new ASP.NET Core project Commented Mar 12, 2024 at 17:10
  • @J.Memisevic, I have a GridView and HTMLControls in 4.8 framework which is giving error in 8.0. Need to replace that. Commented Mar 13, 2024 at 10:15

1 Answer 1

0

The System.Web.UI namespace does not exist in any framework version after .NET framework 4.8.1.

As mentioned by others in the comments to switch off of .net framework your app will probably need to be re-written.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.