I would like to use ASP.NET WebApi inside a SharePoint 2013 farm solution.
I know it is not supported out-of-the-box, but I found SignalR can be run by means of a simple HttpModule, so I was wondering whether a similar appoach could be used.
Thanks in advance, Rich
Update 1 I wrote a module to map HttpRoutes similar to the one in the referenced article:
- When turned OFF, I get a 404 - Not Found (which is OK)
- When turned ON, I get a 401 - Unauthorized from SharePoint
No matter which controller&action I pick.
My guess is WebApi should be integrated somehow with SharePoint security. Tips?