mardi 5 mai 2015

Host WebApi in IIS from a Class Library Project

I have a ApiController class in a Class Library project which needs to be hosted in IIS as a Web Api. Is there any way to host it without having to create a MVC or ASP.Net project? Couple of things: 1. No option to SelfHost. So I can't use the CustomAssemblyResolver to load the controller classes. 2. I do not have any existing ASP.Net project in which I can load these controllers.

Looking for a way to host the controllers in IIS, similar to how we host the WCF service using .svc file.

Thanks for your help




Aucun commentaire:

Enregistrer un commentaire