I really want to switch to Linux, up to this point there were two things keeping me on Windows, gaming and work.

Gaming nowadays is a lot easier than a couple of years ago thanks to Valve and Proton, so that’s not a problem anymore; with the other one I don’t know if I can make something work enough and that’s why I’m asking here.

I work as a fullstack software developer with windows products I don’t fear for the frontend part because typescript, angular, react, … those I know I can run on linux with no problem on VS Code; for backend thought: dot.net, visual studio, sql server, … I think there is no Visual Studio for Linux and I don’t know if I can run & debug .net 8 applications on a linux machine? I can use docker for things like databases. Does anybody else has a similar scenario and things that had to overcame? Tips, problems that I may not see now before making the switch, and solutions to my current problems are welcome

  • @breadsmasher
    link
    English
    45
    edit-2
    23 days ago

    .NET is now fully cross platform. you can absolutely run and debug applications on linux as you would in windows.

    However Visual Studio IDE is windows only (theres a mac version but isn’t the same).

    You can use vscode + .net development pack.

    Personally I use Jetbrains rider (for home and work)

    SQL Server has a linux version I believe, but its been years since Ive done an install (for development I run sql server in a container)

    • @[email protected]M
      link
      fedilink
      13
      edit-2
      23 days ago

      .NET is now fully cross platform. you can absolutely run and debug applications on linux as you would in windows.

      Correct me if I’m wrong, but isn’t this limited to just console apps - as in you can’t yet run GUI apps, unless you’re using a cross-platform toolkit like Avalonia, or it’s a WinForms app running under Mono?

      • @breadsmasher
        link
        English
        10
        edit-2
        23 days ago

        To be more specific, yeah I think you are correct. The core of .net (hence the old name net core) is cross platform. Theres a lot of other stuff that isn’t (ie WPF won’t work on linux)

        ~There are alternatives, such as MAUI~

        https://dotnet.microsoft.com/en-us/apps/maui

        • Sylveon
          link
          fedilink
          English
          923 days ago

          Note that MAUI doesn’t officially support Linux.

          But there are third party alternatives like Uno Platform or Avalonia UI that do.