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