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

Mohamed Cisse 1 Reputation point

.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,131 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Sardou Noureddine 241 Reputation points

    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

    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.

  3. Sardou Noureddine 241 Reputation points

    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

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

    0 comments No comments

  5. Anonymous

    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