C
C#5mo ago
steadfast

Where can I learn to make a desktop applications in C#?

I want to learn how to develop desktop applications in C#, but I'm not sure where to start.
35 Replies
SG97
SG975mo ago
$helloworld
SG97
SG975mo ago
unless you've already learned the basics, if so, you could search up WPF for example
Lex Li
Lex Li5mo ago
Many good desktop apps are open sourced on GitHub, so you should get started from searching there.
steadfast
steadfast5mo ago
can you suggest a source I can learn from please?
SG97
SG975mo ago
for WPF or for basics?
steadfast
steadfast5mo ago
I learnd the basics and the fundamentals of c# and now I want to learn how to make desktop applications
SG97
SG975mo ago
for a quick overview
steadfast
steadfast5mo ago
What's the difference between Winform and WPF?
SG97
SG975mo ago
Winforms is old well, so is WPF but it's the preferred Windows-only framework over WinForms more versatile
steadfast
steadfast5mo ago
So, Winforms is considered outdated?
SG97
SG975mo ago
yes
steadfast
steadfast5mo ago
oh
Lex Li
Lex Li5mo ago
What’s your goal? If you want to land on a real world job, WinForms/WPF/WinUI are common. Nothing is “outdated” as they are all fully supported by Microsoft.
Pobiega
Pobiega5mo ago
Fully supported doesn't mean recommended or that they have the same capabilities Winforms is absolutely not recommend these days.
Lex Li
Lex Li5mo ago
Then WPF isn’t recommended after UWP was out. But we all know whether that’s a piece of good advice.
Pobiega
Pobiega5mo ago
Are you just trying to be a contrarian for the sake of it? Don't confuse the beginners with bad info, come on.
steadfast
steadfast5mo ago
well, I have two goals 1. I want to learn desktop Applications so i can make useful apps and tools that can help me to plan in games 2.I want to make mods for games, becuse i have so many ideas for the games i play
Lex Li
Lex Li5mo ago
Then you should go directly to a game framework, Unity/CryEngine/MonoGame. Don’t waste your time on desktop UI which is irrelevant.
Pobiega
Pobiega5mo ago
It's irrelevant for 2, but not for 1. They want to make apps/tools to help make games/mods/plan stuff. Toolmaking is an awesome "craft" and not to be underestimated
steadfast
steadfast5mo ago
Yes and i plan to learn unity in the near future but right now i want to learn how to make a desktop Applications for some of my ideas that i have in my mind
Lex Li
Lex Li5mo ago
Modern Unity tools are written in Avalonia UI, sadly not in WPF
Pobiega
Pobiega5mo ago
Avalonia uses xaml, so it's very similar to wpf. No problems with using either. Avalonia is a great framework, just might be a little harder finding tutorials and help for it
steadfast
steadfast5mo ago
one of my ideas is to make a planner for the game stardew vally, where i can easly pland and design a farm something like this https://stardew.info/planner/
Interactive farm planner for Stardew Valley
Plan your Stardew Valley farm! ...on a coffee break!
No description
Pobiega
Pobiega5mo ago
Cool project! Go for it.
Lex Li
Lex Li5mo ago
Unity/neosisGUI allows desktop apps to be built with XAML, https://halfblood.pro/the-story-about-net-cross-platform-ui-frameworks-dd4a9433d0ea
Half-Blood Programmer
The Story About .NET Cross Platform UI Frameworks
This post tries to summarize the pros and cons of all .NET cross platform UI frameworks.
Lex Li
Lex Li5mo ago
I still consider time spent on learning WPF a significant disadvantage if your final goal is not to stay with that XAML variant
steadfast
steadfast5mo ago
wait you can make desktop apps in unity?
Pobiega
Pobiega5mo ago
Don't. It's a game engine. Not a very configurable one at that. You'll end up making a really resource heavy desktop app Also, unity can't use modern C#/.NET It's stuck on the old framework versions
steadfast
steadfast5mo ago
Yes, but it could help me if I want to create a simulation feature where you can control a player and walk around the farm that you would design in the app.
Pobiega
Pobiega5mo ago
Sure At that point you're more making a game with a planning mode.
steadfast
steadfast5mo ago
I guess so
Pobiega
Pobiega5mo ago
It's not really what most people mean when they say desktop app 🙂
steadfast
steadfast5mo ago
Cough anyway thank you for the help i really appreciate it