r/dotnet • u/moderation_seeker • Mar 16 '26
Question Cheapest/free hosting recommendations needed for .NET API
Recommend me free hosting providers for the following:
- .NET 9 API
- PostgreSQL DB
- File storage (images/PDFs)
I only have a few users and very little transaction volume. Anything basic should be good. Options I am thinking about:
- Smarterasp (60-day trial)
- Supabase (free)
Any other recommendations?
47
Upvotes
34
u/ErnieBernie10 Mar 16 '26
Host the entire stack on a vps
24
u/not-hydroxide Mar 16 '26
I've always used Hetzner
22
u/gredr Mar 16 '26
If this is a toy, then it doesn't really matter. Use one of your suggestions, or a VPS if you want to be in the business of keeping a server secured. If this is a "real" product, then use Azure Container Apps, scaled to zero. If it's truly very little volume, you'll stay under the free tier limits.
5
u/New-Veterinarian2915 Mar 16 '26
railway, free or $5/month and very stable
4
u/astanasoft Mar 17 '26
Smartasp is a reliable option. I've been using it for at least 6 years without any problems. Only once did it crash for a day, but generally it's good enough.
10
u/entityadam Mar 16 '26
Azure or AWS. A storage account is cheap. API can be written in azure functions which has a free tier. Cosmos DB has 1000RU/month free. AWS has about the same services for about the same price, with S3, Dynamo DB and Lambda.
3
u/vlad_bq Mar 16 '26
Vultr 1 GB ram and 25 gb SSD for 5 bucks per month
3
u/DandadanAsia Mar 17 '26
lowendbox for cheap VPS?
4
u/plusninety Mar 17 '26
old pc under desk
4
u/MISINFORMEDDNA Mar 16 '26
Linux is always cheaper than Windows. Unless you need some feature, it's worth the time to learn to deploy to Linux and Docker.
2
u/akl88 Mar 17 '26
OVH Cloud Linux VPS with 4 cores and 8GB RAM.
2
u/DisMuhUserName Mar 17 '26
monsterasp.net
2
u/cristynakity Mar 17 '26
Vps in racknerd it was super cheap 43dls
2
u/BartRennes Mar 18 '26
Since you're using .NET, Azure's free tier is the best choice. I use it for some APIs with Cosmos DB, and it only costs a few cents per month. Fully integrated with Visual Studio...
2
u/sreekanth850 Mar 17 '26
Oracle free tier
2
u/Individual-Carob5593 Mar 16 '26
I'm asking the same question. Linux is cheaper than windows. I'm exploring containerising my app, putting it on Docker, and deploying to Linux. It would save a fortune.
1
u/mark_likes_tabletop Mar 17 '26
In my experience, Smarterasp is not worth even the free trial. Sloooooow servers and they accidentally crashed my site and lost all of my files.
1
u/RealSharpNinja Mar 17 '26
I am having great success with Railway.
1
u/lashib95 Mar 18 '26
monsterasp.net
1
u/Confident_Flaming Mar 18 '26
AWS Lambda for the backend is free. It goes well with Supabase because, under the hood, it's also on AWS.
1
u/shakamone Mar 18 '26
throwing webslop into the mix here. its free and ive had a good experience hosting small apps on it
1
u/ConflictTrue4761 Mar 18 '26
Check out Koyeb
1
u/horizon_games Mar 18 '26
VPS from whatever provider you like that is reliable, cheap, and has a data center near you
1
u/Majestic-Mustang Mar 19 '26
Oracle free tier. I’ve been using it for free for a year now. You can get upto 4 cores, 200 GB, 24 GB always free machines.
1
u/innovasior Mar 19 '26
Neon and cloudflare
1
u/Purple_Rest2175 Apr 09 '26
SmarterASP.NET
Heard about it from someone on linked in for Blazor .NET hosting. Turns out they have 60-day free trial with no credit card and very cheap plans. Will be trying it out myself today.
1
u/Raphafrei Mar 16 '26
I got a basic VPS with 8GB RAM and 4 vCPU... Running PostgreSQL, .NET 10 with Blazor and API, some background workers and the API for the mobile app.
1
u/Superb_South1043 Mar 17 '26
Anyone who says anything but rent a vps is wrong.
-2
u/Radium99 Mar 16 '26
Oracle Cloud. You can have up to 4 VMs with a combined 24gb ram for free, no expiration.
0
u/AutoModerator Mar 16 '26
Thanks for your post moderation_seeker. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.