I’ve been learning C# with .NET Core and would like to start hosting my projects online, everything I’ve done is locally so far.

I don’t THINK I need a Windows Server host, they seem to be expensive, I think .NET runs ok on a Linux server? But when searching for a .NET hosting provider I see windows everywhere.

I’m hoping to find as low a cost option as possible. It will be mostly for hosting projects to show potential employers / clients etc.

where do you generally host your .NET projects? I’ve seen AWS / Azure / Linode recommended, but I think costs can spiral quickly?

  • towerful@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Having never built an app in .net, my first instinct would be to try to containerise it.
    This would make the installation of it (mostly) platform independent, and would let you easily prove it on your development machine.

    https://learn.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows

    Note that docker isn’t the only way. There is also podman, and I’m sure there are others.
    All of these build ontop of the Open Container Initiative, and are mostly interchangeable. It’s only once you dig deeper into docker/podman/whatever that you might start running into compatibility issues.
    I don’t think I’ve ran into any issues between using docker and podman, albeit for nodejs applications.