Skip to content

Instantly share code, notes, and snippets.

@mariochavez
Created November 29, 2010 18:33
Show Gist options
  • Select an option

  • Save mariochavez/720337 to your computer and use it in GitHub Desktop.

Select an option

Save mariochavez/720337 to your computer and use it in GitHub Desktop.
Ejemplo del frameworks ligeros para web apps
public class HelloWorld : ManosApp {
public HelloWorld ()
{
Route ("/", ctx => ctx.Response.End ("Hello, World"));
}
}
public class Module : NancyModule
{
public Module()
{
Get["/"] = parameters => {
return "Hello World";
};
}
}
get '/hi' do
"Hello World!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment