Reputation: 17485
For Web API integration we use following thing in asp.net mvc 5 template onwards.
app.UserWebAPI(configuration);
Here we plug web api into Owin pipe line.
Is that same thing possible for MVC . Something like
app.UseMvc();
Also does Owin and Mvc use same routetable for url configuration.
Upvotes: 1
Views: 409
Reputation: 861
Currently you cannot host mvc app with owin since mvc has dependency on system.web namespace which restrict self hosting .
But you can use FubuMVC, Nancy and Simple.Web etc
Upvotes: 2