I need your advice regarding exposing data from a web application A to be consumed by a web application B, both applications being ASP.NET WebForms application.
First thought I have in mind is to build a REST WCF webservice within web application A.
Is this the best option? What other options do I have with .NET 4.0? Is Web API a better alternative? If yes, why?
Later edit: I want to have call a method that receives 2 parameters and returns a class with 2 properties. In the future, I might need to add some similar methods.
Later edit 2: The input parameters are sensitive, it there a way to send it someway so nobody can see them using a http proxy tool.