How to run self-hosted(owin based) web api on IIS?
问题 I have developed self-hosted(owin based) web api using console application. In development phase I was running the console application and everything was okay. static void Main(string[] args) { string baseUri = "http://+:8080"; Console.WriteLine("Starting web Server..."); var server = WebApp.Start<Startup>(baseUri); Console.WriteLine("Server running at {0} - press Enter to quit. ", baseUri); Console.ReadLine(); server.Dispose(); } Now I need to deploy my self-hosted web api to run on IIS.So,