Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Owin SelfHost
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
You can’t perform that action at this time.