3 ms·
Desktop UI is very different from web, and most languages have multiple choices. WPF is the latest Windows-only, Windows Forms is legacy (from Windows XP era),
by manigandham 6y ago
Desktop UI is very different from web, and most languages have multiple choices. WPF is the latest Windows-only, Windows Forms is legacy (from Windows XP era), Xamarin is cross-platform. These is in the descriptions on the page, or you can click on the documentation and follow the breadcrumbs to the main topic for the Desktop Guide: https://docs.microsoft.com/en-us/dotnet/desktop/?view=netdesktop-5.0 https://docs.microsoft.com/en-us/dotnet/desktop/?view=netdes...
However you can just use Electron if you want to reuse web UI skills on desktop (although HN hates that). Likewise you can solve the state problem the same as a web backend. Use an external database, or a local database, write to a file, just keep it in memory, or use any of the OS-specific options. I recommend starting with EntityFramework (an ORM) and using the Sqlite provider: https://docs.microsoft.com/en-us/ef/core/get-started/overview/first-app?tabs=netcore-cli https://docs.microsoft.com/en-us/ef/core/get-started/overvie...
- tonyedgecombe 6y ago>WPF is the latest Windows-only No it isn't. WinRT, UWP and WinUI are all later than WPF.