One of the great thing about Nancy is that you can host it in pretty much everywhere, and that includes inside a console app! The documentations seems to be missing the self-hosting option however, but it’s easy and only takes a minute.
First, create a console app and get the Nancy.Hosting.Self package from NuGet:
Here’s a quick example:
Subscribe to my newsletter and get new contents delivered straight to your inbox :-)