I am trying to build the services in SharePoint 2010 farm solution which would connect to SQL database and return the response in JSON.
I tried exploring and all I could find was that I can build Web API controller that too in SP 2013 app model project. I tried the same and it works great.
I tried to add Web API controller in SP 2010 but I don't get any option to add the Controller.
How to create REST service in SP2010 farm solution?