DEV Community

[Comment from a deleted post]
Collapse
 
csaltos profile image
Carlos Saltos

Good to know about the .Net in 2020 ... thanks for sharing ... just one quick question (from someone very ignorant at Microsoft tooling) ... can you run a C# application on Debian Linux ? ... (I mean a real application, not only a console hello world)

Collapse
 
revoltez profile image
revoltez • Edited

yes ofcourse you can , the cross platform name for .Net is for now called .Net Core and its #1 most loved framework in stackoverflow statistic, you can do everything you want , the framework is stable. people are already using it in distributed systems and in big complex apps since as i said its 7x times faster then node.js and can support the Actor model, so there is literally nothing to worry about.
ps: i created a fully implemented Blockchain using .Net on linux

Collapse
 
csaltos profile image
Carlos Saltos

Great !! ... good to know !! ... and what about GUI visual desktop applications ? ... can I do a C# desktop app to access the GPU card for example and make it run at Mac, Windows and Linux ?

 
revoltez profile image
revoltez • Edited

i dont know about accessing the gpu, but GUI is still not yet cross platform but will be in a radical way in the next releases, .Net is going to introduce a one single way of writing GUI that runs on every platform from phones to desktop, for now you need to Run windows to do uwp or wpf, but thats only the UI part not the Logic , thats 100% cross platform , so a desktop app withou a UI is possible
there is a library called AvaloniaUI which lets you write cross platform GUI tho. its not from microsoft and its powerfull.

 
csaltos profile image
Carlos Saltos • Edited

OK, good to know !! ... I will give it a check to C# and specially F# when the GUI part is ready ... in the meantime JavaFX with Scala is good enough since it’s already a GUI cross platform

Collapse
 
glepag1 profile image
Gerald LePage

Yes, you can! Install the dot net core runtime (available via Brew for Linux, apt, yum, etc - not exactly sure which is for Debian). Run/Write a complex C# application (if you are in a Linux OS with a UI, you can write a form based app) . This app can be a web server (full MVC or MVVM) using asp.net core and c# (Blazor is amazing), a game server, a game, a multi-threaded computational app...the possibilities are endless. The popular Unity3D engine utilizes C# and can run on multiple platforms. All of the old arguments against using .net are baseless now.

Collapse
 
csaltos profile image
Carlos Saltos

Great !! ... I love Unity !! πŸ‘β€οΈβ€οΈ