Skip to content
Allows you to write syntactic sugary routes in Nancy
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
Nancy.RouteHelpers.Tests
Nancy.RouteHelpers
.gitattributes
.gitignore
Nancy.RouteHelpers.nuspec
Nancy.RouteHelpers.sln
README.md
README.txt
licence.txt

README.md

Nancy.RouteHelpers

Introduction

Welcome to Nancy.RouteHelpers!

This library allows you to write pretty NancyFX routes without nasty looking regex strings in your routes.

public class HomeModule : NancyModule
{
    public HomeModule()
    {
        Get[Route.Root().And().AnyIntAtLeastOnce("id")] = parameters =>
        {
            return View["Index"];
        };
    }
}
You can’t perform that action at this time.