I'm fighting with Services deployment under the SharePoint infrastructure.
It happens that I spent a lot of time trying to configure a REST SharePoint 2010 web service under the ISAPI (_vti_bin) folder. The service works after a simple deploy but I cannot find a way to get Users' info.
I tried to access it by
But everytime it was null. I tried to apply a custom web.config on my Web Service so that I can specify the impersonation and so on but I cannot resolve the problem.
I solved the problem deploying it under Layouts so I ask:
- What's the difference between the two folder (in behavior, I already know the location and the distribution across web applications)?
- Why ISAPI is preferred for web service deployment?
- Is there any "good practice" I'm violating deploying it under layouts?
Thank you very much