2

Can I host a asp.net application on a linux based webserver?

Do they allow .net framework to be installed on linux?

5 Answers 5

16

Mono might work for you. It's an open source implementation of .NET that runs on Linux. It requires installation.

You can test your ASP.NET application with MOMA (Mono Migration Analyzer) first to see if it will work.

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

Comments

2

Take a look a Mono, specifically and it's ASP.NET implementation.

Comments

0

Check out the mono project: http://mono-project.com/Main_Page

It's not 1:1 to the .net framework, but it's as good as you're going to get on linux in terms of .net.

Comments

0

Although there is Mono project - an implementation of .NET framework for Linux OS, I'd suggest you to use Windows server to host your web applications, since Mono doesn't provide all .NET functionality.

3 Comments

-1? it does make sense to me. It doesn't seem to me that it'd be safe to use mono. could you explain why you disagree?
Also I doubt that any web hosting will provide Mono on Linux web server. Why? It's still raw for production usages.
There is no reason not to use Mono. Mono fully supports ASP.NET and now MVC too. I've been hosting my BlogEngine.NET instance on an Ubuntu server for the last 2 years with no problems. Shared hosting support is still somewhat lacking, but there are hosts that do it, see www.ubiquityhosting.com for instance.
0

Yes that is possible, if you have a VPS/VPC server.

In shared hosting server you coudl go for Windows/Plesk, as they have pre-installed ASP.net. In shared hosting Linux, you may not get root access to install ASP.net, please confirm over the specification from your hosting provider.

If you have a Linux server make sure that you " root access " to install the progamming language.

1 Comment

You may improve the answer by adding details on which .NET library is available on a Linux VM (e.g. .NET core, etc. see also the Microsoft Documentation: learn.microsoft.com/en-us/dotnet/core/install/linux )

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.