WHAT LANGUAGES OR FRAMEWORKS SHOULD I LEARN ALONGSIDE C# FOR DESKTOP, WEB, GAMES
i am new to C# but i really wanna learn it, i don't have that much of a prior knowledge to other programing languages, but i know my way around. can someone breakdown for me me what languages or framework i should learn to make desktop apps and websites with c# mainly. thank you so much
31 Replies
NO NEED TO SCREAM IN THE TITLE
C# FOR DESKTOP, WEB, GAMESDecide what you want to do
oh i thought titles should be uppercase, sorry
i actually want to learn everything that's why i wanna know what goes with it
For native desktop apps, Avalonia or WPF.
Avalonia is cross-platform while WPF is windows-only
As for web things, ASP.NET Core is the go-to for C#
ASP.NET Core, important distinction
are those used for UI while making those native apps for desktop
Avalonia and WPF?
Yes
Avalonia and WPF is for Native desktop applications (meaning no web stuff).
While ASP.NET Core is entirely web and not a UI Framework
oh what can i use to make the UI in web ?
ASP.NET Core
Blazor, if you want more of a webapp
Razor Pages if you want SSR
ASP.NET Core is a web framework, so anything web.
You can make api's, websites, etc.
I'm not a web developer so I'm clueless around asp.net and web things, so unfortunately I can't give you more detailed information than that.
oh alright, so if u want
to develop desktop apps from scratch u use C# with UI elements you use : valonia and WPF
and for web entirely with C# you use ASP.NET Core
i assume you know desktop apps, so m i correct i only need (valonia and WPF) to fully make a desktop app from scratch from UI to how interactive the things are!?
Avalonia and WPF are GUI Frameworks, it's not "from scratch" they include a lot of basic elements such as textboxes, buttons, etc.
They both use XAML which is pretty similar to HTML, except a few things.
so if m learning those GUI Frameworks, by default i would learn XAML or should i look it up alone
For .NET, XAML is the standard of modern UI Frameworks.
So yes, you would require knowing XAML, but it won't take long.
As XAML in itself is pretty easy. Styling and bindings on the other hand isn't.
thank you!!
cuz all the tutorials i look up are console apps and i get distracted
I would recommend Avalonia as it is by far the best .NET UI Framework especially since the styling is pretty similar to web with the CSS selectors
https://docs.avaloniaui.net/docs/0.10.x/styling/selectors
thank you, i would look it up for sure
Other than styling, Avalonia and WPF are pretty similar in terms of syntax, so if you know Avalonia, it wouldn't take you long to use WPF and vise-versa
great that's helpful
basically anything if you set up vite to work with asp. React, angular, vue, etc, in addition to the built-in UI stuff like blazor and razor pages mentioned previously
Never have I managed to set up Vite with ASP tbh
I just have a bunch of build scripts I run with Bun lmao
I haven't either but I've heard good things
if I ever re-make one of my web projects it'll probably be with vite.... Assuming I can get it set up lol
what is Vite exactly ??
build tool for web stuff
there are guides on setting it up with asp but I haven't tried setting it up myself
oh cool i will check it up!! thank you
for it i use unity
for games right?
for games & desktop. i didn't use c# for web
oh alright, thank you