unable to deploy .net core app on a shared linux hosting

Mohamed Cisse 1 Reputation point
2020-12-11T12:43:00.263+00:00

Hi,
.net core app is supposed to be a multi platform app.
For some reason no shared Linux hosting (like a2hosting.com) is allowing .net core app their linux shared hosting servers.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Sardou Noureddine 241 Reputation points
    2020-12-11T13:16:12.36+00:00

    Hi @Mohamed Cisse

    netcore apps are multi platforms. But the hosting platform needs to have .netcore runtime installed on it.
    Same thing for Java apps that need JRE installed on the underlying system.

    You can take a look at self contained .Net core apps to overcome this issue (.netcore 3.0 or higher)

    1 person found this answer helpful.

  2. Mohamed Cisse 1 Reputation point
    2020-12-11T17:05:22.517+00:00

    Hi,
    I tried self contained but it did not work.
    The hosting company even did confirm to me they do not support .net core and they do not allow root access.
    And i think .net core need root access.
    Thanks


  3. Sardou Noureddine 241 Reputation points
    2020-12-11T17:46:28.593+00:00

    that's sad and it's an issue from the hosting solution.
    You can eventually take a look into other hosting providers that support .netcore on shared hosting plans (smarterAspnet, accuwebhosting ..)

    0 comments No comments

  4. Mohamed Cisse 1 Reputation point
    2020-12-11T17:57:58.49+00:00

    There is not problem with shared windows hosting .
    The problem is with shared linux hosting .
    Thanks

    0 comments No comments

  5. Anonymous
    2020-12-15T05:36:36.8+00:00

    You can ask them for what version of dot net core runtime have they installed on their shared Linux hosting platform.

    0 comments No comments