what is the most current Windows platform for .NET and C#

Joe Babb 60 Reputation points
2024-04-24T14:20:14.18+00:00

I see on the internet that MS has deprecated UWP. What do I need to add to my Visual Studio 2022 Community edition in order to program using the latest flavor of Windows for general Windows Apps? I'm getting frustrated trying to discern the myriad versions and find the documentation I need.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,667 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,625 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,278 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 56,846 Reputation points
    2024-04-24T15:55:36.78+00:00

    Yes, UWP was depreciated back in 2021. Currently you have three options:

    the Windows App SDK (WinUI 3). This is very similar to UWP. The most windows only platform. as this is port of WPF -> UWP -> WinUI 3, the architecture is a little dated. But with cross platform being the current focus, I don't see a redesign.

    https://learn.microsoft.com/en-us/windows/apps/winui/winui3/

    Maui cross platform. A port of Xamarin and Xamarin Forms, you can build mobile and Windows desktop apps. Currently Windows is not the best supported platform. The UI development is probably the weakest part. Its design is old compared to SwiftUI and Jetpack. and being cross platform it lowest common denominator. Hopefully the future holds a redesign of the UI layer.

    https://dotnet.microsoft.com/en-us/learn/maui

    Blazor Hybrid. This is like electron for c#. You write an app using html, browser events and c#. the architecture is similar to react.

    https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-8.0

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful