C
C#4w ago
abdelbari

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
Buddy
Buddy4w ago
NO NEED TO SCREAM IN THE TITLE
C# FOR DESKTOP, WEB, GAMES
Decide what you want to do
abdelbari
abdelbariOP4w ago
oh i thought titles should be uppercase, sorry i actually want to learn everything that's why i wanna know what goes with it
Buddy
Buddy4w ago
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#
Angius
Angius4w ago
ASP.NET Core, important distinction
abdelbari
abdelbariOP4w ago
are those used for UI while making those native apps for desktop
Angius
Angius4w ago
Avalonia and WPF? Yes
Buddy
Buddy4w ago
Avalonia and WPF is for Native desktop applications (meaning no web stuff). While ASP.NET Core is entirely web and not a UI Framework
abdelbari
abdelbariOP4w ago
oh what can i use to make the UI in web ?
Angius
Angius4w ago
ASP.NET Core Blazor, if you want more of a webapp Razor Pages if you want SSR
Buddy
Buddy4w ago
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.
abdelbari
abdelbariOP4w ago
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!?
Buddy
Buddy4w ago
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.
abdelbari
abdelbariOP4w ago
so if m learning those GUI Frameworks, by default i would learn XAML or should i look it up alone
Buddy
Buddy4w ago
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.
abdelbari
abdelbariOP4w ago
thank you!! cuz all the tutorials i look up are console apps and i get distracted
Buddy
Buddy4w ago
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
abdelbari
abdelbariOP4w ago
thank you, i would look it up for sure
Buddy
Buddy4w ago
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
abdelbari
abdelbariOP4w ago
great that's helpful
Keswiik
Keswiik4w ago
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
Angius
Angius4w ago
Never have I managed to set up Vite with ASP tbh I just have a bunch of build scripts I run with Bun lmao
Keswiik
Keswiik4w ago
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
abdelbari
abdelbariOP4w ago
what is Vite exactly ??
Keswiik
Keswiik4w ago
build tool for web stuff
Keswiik
Keswiik4w ago
vitejs
Vite
Next Generation Frontend Tooling
Keswiik
Keswiik4w ago
there are guides on setting it up with asp but I haven't tried setting it up myself
abdelbari
abdelbariOP4w ago
oh cool i will check it up!! thank you
Ktoto
Ktoto4w ago
for it i use unity
abdelbari
abdelbariOP4w ago
for games right?
Ktoto
Ktoto4w ago
for games & desktop. i didn't use c# for web
abdelbari
abdelbariOP4w ago
oh alright, thank you
Want results from more Discord servers?
Add your server