Self-Hosting an ASP.NET Web API
Posted by: Bipin Joshi.com :: Thoughts on .NET, Life, Yoga and more,
on 22 Jul 2014 |
View original | Bookmarked: 0 time(s)
ASP.NET Web API can be either be hosted in IIS or in a separate host process. The former approach is usually appropriate when the Web API is part of a web application and one or more web applications are going to consume it. The later approach is suitable when you wish to avoid the overhead of hosting the Web API in IIS and want to have something lightweight. Hosting a Web API inside IIS is quite straightforward as the process is identical to hosting a web application. On the other hand, hosting...