M
M
marshinov2013-10-16 16:32:27
linux
marshinov, 2013-10-16 16:32:27

Mono on CentOS

Choosing a platform for a new project. I specialize in .NET development, but for a number of reasons, I do not want to use the win-stack in this case. Now from the server part we need a front office, back office and API, in the future we will need another daemon for all sorts of background tasks.

Never worked with Mono before. Is it worth trying to deploy nginx + mono, or will it go to the bathhouse and won’t work normally? I am quite familiar with CentOS. If you have experience deploying Mono on this platform, please share your impressions. I am especially interested in whether it will be possible to use WebApi or WCF to implement the API and ASP.NET MVC for the UI.

Is it better to write a demon on pluses or can mono do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dima_horror, 2013-10-16
@dima_horror

I will prompt only on ASP.NET MVC.
I successfully deployed an ASP.NET MVC project on Mono (Ubuntu) with little difficulty. By trial and error (by poke) I checked which FrameWork dlls should be taken from the project, and which ones should be left as standard Movo dlls.
Demon, I think it's better to write on the pluses.

P
petuhov_k, 2013-10-17
@petuhov_k

There are no big problems with running .NET under mono, but there are minor nuances that pop up unexpectedly at first. For example, I had to abandon JsonResult - somehow it did not serialize objects in .NET and Mono in the same way. There was something else, but all these problems are easily solved and you don’t come back to them anymore.
I did not do load tests, since there is almost no load. A small corporate application is running on the server Ubuntu in a virtual machine (xsp + nginx).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question