As the title says, you probably guessed it already. For work I mainly develop on the .NET platform using a Windows device, but at home I enjoy all the benefits of a good OS.

Now I kinda want to get my C# skills “sharper” and have some projects in mind utilising it, but I’m a bit miffed about the development tools and possibilities of deployment available for me on Linux.

Also I may want to coerce my boss to let me work on a device with my OS of choice.

Any advice from devs that are in a similar spot? What do you use for .NET development on Linux? And are there any cool multiplatform deployment possibilities (next to Xamarin/Maui) that actually let me build natively on Linux?

  • @mark
    link
    35 months ago

    I use the dotnet/sdk image to build and publish into the dotnet/aspnet for runtime since it’s smaller. Both from mcr.microsoft.com

      • @mark
        link
        25 months ago

        All linux! I think debian, though they have alpine images too.

        I wouldnt wish windows containers on my worst enemy haha.

        • @beeng@discuss.tchncs.de
          link
          fedilink
          3
          edit-2
          5 months ago

          Oh I didn’t think mcr.microsoft provided Linux base, ok good to know.

          I’ve reviewed a few PRs with that in the dockerfile and thought it was always windows based, good to know!

          • @mark
            link
            35 months ago

            I think there are windows containers available, but even M$ has given up pushing windows server for cloud native stuff. All their tutorial docs for containers use linux haha