Is there any way to convert a WPF desktop application project to a web application with minimal code rewriting?

Mojtaba_Hakim 321 Reputation points
2022-11-27T08:27:01.213+00:00

I have a C# WPF project that works with a SQL Server database on my windows, I searched a lot to see if there is a way to convert my project code into a web usable project with minimal code rewriting, but I couldn't find anything useful.

Now I doubt what exactly is the best way? If I have to rewrite my entire project from scratch, then I should choose a good path and technology (like cross-platform).

According to the things I saw, I doubt which benefit:

  • WPF .NET-Framework | .NET-Core
  • UWP
  • WinUI and Uno Platform
  • Microsoft MAUI

which one is the best way ?

Developer technologies Windows Presentation Foundation
Developer technologies .NET .NET MAUI
Developer technologies ASP.NET Other
Developer technologies XAML
{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.