11

Now asp.net core has been released so we can develop/deploy .net application on any platform.

I am trying to play with asp.net core and able to run my application on ubantu os(On Virtual Machine). But i just wanted to hosted dot net core application on shared linux hosting environment where simply upload published file.

I was following Tony's blog, to play with core.

We need DNVM, DNU and DNX to run application, but we don't have terminal to execute these commands on shared hosting.

Help me figure out the solution.

7
  • DNVM/DNU/DNX are all dead with ASP.NET 5. Please pay enough attention to docs.asp.net to study the true ASP.NET Core. Commented Aug 7, 2016 at 6:46
  • @LexLi, thanks for suggestion, I explored asp.net documentation, as per link we just need to copy and paste deployed application on server and its done.Actually I don't have any shared hosting server right now and I will try soon. If i am missing something then please suggest me. Commented Aug 8, 2016 at 19:38
  • Hi @MarkSpencer, me also prefer windows hosting but tradition is changing and microsoft is also supporting linux then why we don't use linux hosting. As per my knowledge azure also provide linux hosting. there are few point to consider linux hosting. 1- msft released asp.net core for any platform. 2- linux hosting is cheaper then windows hosting. 3- linux is one of the secured OS. 4- Some client is prefer linux hosting. Commented Aug 11, 2016 at 6:59
  • haha, @MarkSpencer cost doesn't matter some time but we cannot ignore Linux hosting. Thanks for suggestion. Commented Aug 12, 2016 at 11:30
  • 1
    Hi, have you had any luck with running dot net core on a shared Linux host? Commented Oct 9, 2016 at 12:55

1 Answer 1

5

It is somewhat possible... and actually, Scott Hanselman just did it using .NET Core 2.1 (still in preview, although). He got it running on GoDaddy's shared Linux plan. You may follow his step by step here, but you are strongly adviced not to do it.

Sign up to request clarification or add additional context in comments.

3 Comments

I love this evil hack, really awesome hack 😉. Thanks scott.
why this is not the recommended way. Any specifiy drawback
@user3036876 it is hacky, it won't work everywhere (will depend on the host's configuration) and might be against the terms of use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.