Created
July 15, 2015 01:38
-
-
Save dcomartin/a75f0cd9b8ad7f5dd4b1 to your computer and use it in GitHub Desktop.
Owin SelfHost
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
using System; | |
using Microsoft.Owin.Hosting; | |
namespace AspNetSelfHostDemo | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
using (WebApp.Start<Startup>("http://localhost:8080")) | |
{ | |
Console.WriteLine("Web Server is running."); | |
Console.WriteLine("Press any key to quit."); | |
Console.ReadLine(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment