News for hackers. Stuff that matters.
Re:.NET for Beginners (2020) by manigandham on Wednesday April 21, 2021 @01:07AM (#26885626)
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=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/overvie...

Re:.NET for Beginners (2020) by tonyedgecombe on Thursday April 22, 2021 @04:13AM (#26900162)
>WPF is the latest Windows-only

No it isn't. WinRT, UWP and WinUI are all later than WPF.