Skip to content

Instantly share code, notes, and snippets.

@DCCoder90 DCCoder90/Program.cs
Created Sep 19, 2018

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