Skip to content

Instantly share code, notes, and snippets.

@theburningmonk
Created September 4, 2011 00:22
Show Gist options
  • Save theburningmonk/1191999 to your computer and use it in GitHub Desktop.
Save theburningmonk/1191999 to your computer and use it in GitHub Desktop.
Simple nancy module
public class MainModule : NancyModule
{
public MainModule()
{
Get["/"] = x =>
{
return "This is the root.";
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment