Deploying mvc4 to linux

2019-06-14 12:57发布

问题:

I've made my first website in ASP.NET MVC 4 for a customer, and he bought a host at 1eurohosting.net. On their website's FAQ it says

"Do you offer Windows based services? We do not. We only offer Linux based services."

I've read that its still possible to run a MVC4 application on linux using mono, but how would I do this?

What I've tried so far is publish the website by right clicking solution explorer, and following the steps when u click "publish". The publishing works fine, and the files are on the webserver, but it doesn't run, because I think I need to use mono.

I don't know what to do at this point. What do I do next? If I have to use mono, how can I use it?

回答1:

It seems that I either need a host that supports IIS or Mono. I dont think my current webhost supports Mono, I am still going to try and contact them, though.