Install

PM> Install-Package Nancy

Write

public class SampleModule : Nancy.NancyModule
{
    public SampleModule()
    {
        Get["/"] = _ => "Hello World!";
    }
}

Go!

Support the project and donate.