Last active
December 13, 2017 14:54
-
-
Save thiagoloureiro/c679cd66917c89a9d27c7a044d723861 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void Main(string[] args) | |
{ | |
Console.WriteLine("Starting NancyFX..."); | |
using (var nancyHost = new NancyHost(new Uri("http://localhost:8889/nancy/"))) | |
{ | |
nancyHost.Start(); | |
Console.WriteLine("Nancy now listening - navigating to http://localhost:8889/nancy/. Press enter to stop"); | |
Console.ReadLine(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment