News for hackers. Stuff that matters.
Re:Mono 3.2.7 is out by rjzzleep on Wednesday February 26, 2014 @11:34AM (#7305905)
no it's not. it's a .NET clone of sinatra. it's a web framework. it has little to nothing to do with node.js. although .net have pretty powerful multiprocessing and async routines, and can therefore be connected to node.js without too much effort.
Re:Mono 3.2.7 is out by brokenparser on Wednesday February 26, 2014 @02:11PM (#7306895)
If you don't mind me asking, I'm stuck trying to get the project templates to work with Monodevelop 4. I'm using this repository to run the latest Mono and Monodevelop on Fedora: http://download.opensuse.org/repositories/home:/tpokorra:/mo...

When I open the vsix file, all I get is a hexdump. I also tried installing it as an add-in, but it doesn't appear to accept vsix files.

The goal is to get past step one of these instructions: https://github.com/NancyFx/Nancy/wiki/Introduction

How to make this work, pretty please?

Re:Mono 3.2.7 is out by rjzzleep on Wednesday February 26, 2014 @05:28PM (#7308576)
monodevelop is not really supported. i would try compiling the latest mlnodevelop and see if there is a fork of the nancy templates.

you can work around that issue if you make an empty asp.net project and then use nuget to install-package nancy.hosting.aspnet

at least i think so, i haven't been doing .net in a while

Re:Mono 3.2.7 is out by brokenparser on Wednesday February 26, 2014 @11:40PM (#7310433)
SUCCESS! I followed these:

http://rubygems.org/gems/albacore/versions/1.0.0.rc.1 (for the command to install albacore), and

https://github.com/NancyFx/Nancy/wiki/Running-Nancy-on-your-...

This works on Fedora and probably other distributions as well, though this uses HTTP which might be less optimal than FastCGI with Fos. I got Fos to compile with Mono but it's not usable yet, it can't find IAppBuilder in my "console" application no matter what references or using directives I add. Nowin compiles cleanly but the example projects don't, so it'll take some effort to get it to work. Things are progressing, though. But I really can't recommend anyone use Mono for web development as it stands.

Re:Mono 3.2.7 is out by skrowl on Wednesday February 26, 2014 @11:39AM (#7305937)
How does it compare to Web API?
Re:Mono 3.2.7 is out by JohnBooty on Wednesday February 26, 2014 @04:20PM (#7307937)
Nancy, like Sinatra, is a general-purpose web framework. You could implement an API in it, or you could implement a user-facing website.

Nancy and Sinatra are typically used for smaller sites. They're based around routes, controllers, and views but they don't (for better or worse) lock you into an MVC project structure like ASP.Net MVC or Rails.

Web API, by comparison, is pretty much "just for implementing a web-based API" and not something you'd want to use for a user-facing web application that serves up HTML pages.

Re:Mono 3.2.7 is out by hhandoko on Wednesday February 26, 2014 @08:32PM (#7309681)
ServiceStack [1] is a closer comparison to Web API. A lot easier to set up and runs in Mono, but not free (although it is open source [2]).

[1] - http://servicestack.net [2] - https://github.com/ServiceStack/ServiceStack