ASP .NET MVC 5 Owin Self Hosting

Topics: ASP.NET MVC
Nov 28, 2013 at 11:59 PM
I am curious as to whether MVC 5 can be self hosted in Owin.

I haven't found any example of such a configuration - everything points to Web API 2 and SignalR.
Coordinator
Nov 29, 2013 at 6:56 PM
Hi Mixja, no, MVC5 cannot be hosted on OWIN. Currently from Microsoft only Web API 2 and SignalR can be hosted on OWIN. However, you can still use OWIN middleware with MVC5 when hosting in IIS, just like the default templates do for the purposes of authentication.

Thanks,
Eilon