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
$helloworld
unless you've already learned the basics, if so, you could search up WPF for example
Many good desktop apps are open sourced on GitHub, so you should get started from searching there.
can you suggest a source I can learn from please?
for WPF or for basics?
I learnd the basics and the fundamentals of c#
and now I want to learn how to make desktop applications
Create a new app with Visual Studio tutorial - WPF .NET
Follow this tutorial to learn how to create a new WPF app for .NET with Visual Studio 2019.
for a quick overview
What's the difference between Winform and WPF?
Winforms is old
well, so is WPF but it's the preferred Windows-only framework over WinForms
more versatile
So, Winforms is considered outdated?
yes
oh
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.
Fully supported doesn't mean recommended or that they have the same capabilities
Winforms is absolutely not recommend these days.
Then WPF isn’t recommended after UWP was out. But we all know whether that’s a piece of good advice.
Are you just trying to be a contrarian for the sake of it?
Don't confuse the beginners with bad info, come on.
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
Then you should go directly to a game framework, Unity/CryEngine/MonoGame.
Don’t waste your time on desktop UI which is irrelevant.
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
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
Modern Unity tools are written in Avalonia UI, sadly not in WPF
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
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!
Cool project! Go for it.
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.
I still consider time spent on learning WPF a significant disadvantage if your final goal is not to stay with that XAML variant
wait you can make desktop apps in unity?
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
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.
Sure
At that point you're more making a game with a planning mode.
I guess so
It's not really what most people mean when they say desktop app 🙂
Cough
anyway thank you for the help i really appreciate it