Created
May 26, 2014 13:54
-
-
Save fabriciosanchez/942a92f1a34a9cd83560 to your computer and use it in GitHub Desktop.
Self Host Katana
This file contains 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
static void Main(string[] args) | |
{ | |
const string baseUrl = "http://localhost:5000/"; | |
using (WebApplication.Start<Startup>(new StartOptions { Url = baseUrl })) | |
{ | |
Console.WriteLine("Press Enter to quit."); | |
Console.ReadKey(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment