Deploying ASP.NET Core App in in Free Tier

There is no documentation on deploying a ASP.NET Core app in and when I used a docker container it could not start during to memory issue in the free tier.

I found two ways to reduce memory, using a project setting


and using compiling for linux-musl-x64 helped me to run the app in the free tier.

Published a guide and project in Github GitHub - Arshu/ Publishing a ASP.NET Core App in I discovered this while working (work in progress) on a more complex declarative web app framework using html/json which i am using to deploy which I think may be useful to others

1 Like

Nice! Good trick.