Answer the question
In order to leave comments, you need to log in
Is it possible to host an ASP.NET WebAPI application on Linux?
There is a web service on ASP.NET WebAPI that uses Entity Framework, Autofac, Automapper.
Is it possible to host it on Linux?
How can this be implemented?
Answer the question
In order to leave comments, you need to log in
For starters, everything is possible!
Another question is how effective it will be.
ASP.NET is a Microsoft technology and it is better to use the entire Microsoft suite to support it: Win Server + IIS + NET, etc. I have been working with their stack for a long time ...
According to the subject - it is possible, but this is a perversion, IMHO. If you really want to - google for the word Mono - this is a port of the NET Framework on Linux.
WebAPI can be it is already on OWIN (there is no dependency on system.web), for the rest, see the dependency on system.web, if there is one, then you can’t.
MVC 6 (vNext), is already taking off on Linux, only it's not even RC yet, but it's already pretty stable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question