News for hackers. Stuff that matters.
Re:Ask HN: Would a .Net back-end put off potential acquisitors? by danabramov on Sunday August 10, 2014 @07:24AM (#8159452)
Is Mono viable for server these days?
Re:Ask HN: Would a .Net back-end put off potential acquisitors? by pionar on Sunday August 10, 2014 @07:28AM (#8159461)
Mono is, yes. If you use a non-Microsoft stack to host an ASP.NET site (OWIN, Nancy on OWIN), then even more so.

Nancy+OWIN+Mono+nginx is a very good stack.

Re:Ask HN: Would a .Net back-end put off potential acquisitors? by pit on Sunday August 10, 2014 @07:53AM (#8159511)
I agree, Nancy is a lot of fun to use with Mono. However, I've been stuck trying to get a WCF (older ASP.NET) application running on Mono for a while now, and it's been a huge pain.
Re:Ask HN: Would a .Net back-end put off potential acquisitors? by PallarelCoedr on Sunday August 10, 2014 @09:24AM (#8159655)
Forget about older ASP.NET and WCF on mono. The core of ASP.NET (System.Web assembly) doesn't feature in next version of ASP.NET. WCF hasn't seen any effective development in years.

The new stuff (ASP.NET vnext) will be highly mono compatible and like the current OWIN stuff, entirely decoupled from IIS.

Re:Ask HN: Would a .Net back-end put off potential acquisitors? by pit on Sunday August 10, 2014 @07:36PM (#8161192)
Thank you, that's extremely encouraging. I think we can effectively migrate the web service to Nancy while keeping our C# business logic as is.

Should be a fun week!

Re:Ask HN: Would a .Net back-end put off potential acquisitors? by scotu on Sunday August 10, 2014 @08:18AM (#8159545)
I'd like to know some performance and language/standard library differences between mono+linux and .NET+Windows (e.g. support for entity framework was not even planned for mono last time I used .NET, which is a lot of time ago).

I always liked C# but windows server for me is a complete showstopper, I'm too comfortable in unix envs for sysadmin/devops. Well also for desktop actually :)

Re:Ask HN: Would a .Net back-end put off potential acquisitors? by bjorg on Sunday August 10, 2014 @11:07AM (#8159894)
Mono is about 25 to 50% slower on computational stuff, which is negligible in almost any business application that has a multi-server topology.

We use C# for business logic (API). One of the first building blocks was to create an open framework for defining and running services that both compatible with .Net and Mono. We've been using that now for a quite a while. While VS is still our primary dev environment for the API, Xamarin Studio is becoming more and more appealing. One of the obstacles when developing with mono is that not all functionality is available or identical. It's of course always possible to contribute a fix or missing code, but sometimes it's just easier to work around it (once you know where the hole is). In production, everything runs on Linux and we use vagrant provisioned VMs to replicate the latest release locally. It works quite well for us now, but it took some effort.

That said, we chose this setup because we liked C#, not because we wanted WCF or ASP.Net. We actually don't like most of the heavy frameworks, including ORMs. Instead, use rely on HttpListener for web-services, PHP for HTML page composition in-front of the API and straight-up MySQL queries for all DB-related stuff. It makes it much easier to evolve a running system when you know what the bits do all the way down! Just my $0.02 cents.

Re:Ask HN: Would a .Net back-end put off potential acquisitors? by yulaow on Sunday August 10, 2014 @09:34AM (#8159670)
The problem is that it will be really hard to convince managers to run Mono/linux against .Net/wserver when all resources and external support is for and based on the second one
Re:Ask HN: Would a .Net back-end put off potential acquisitors? by stephen_g on Sunday August 10, 2014 @08:06AM (#8159532)
It's going to be supported as a backend in the next version of ASP .NET (currently called vNext).

Details here: http://blogs.msdn.com/b/dotnet/archive/2014/05/12/the-next-g...