this post was submitted on 25 Jun 2023
6 points (100.0% liked)

Programming

13376 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] towerful@beehaw.org 1 points 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.