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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.