Created
September 19, 2018 21:33
-
-
Save DCCoder90/72a41cb1f768cb8afd9c5c1686c94350 to your computer and use it in GitHub Desktop.
For micro-api tutorial
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
using System; | |
using Microsoft.Owin.Hosting; | |
namespace SelfHosted{ | |
class Program{ | |
static void Main(string[] args){ | |
using (WebApp.Start("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