+ Start a Discussion
MDhillonMDhillon 

SFDC and external .net application integration via REST API CALLOUTS

If is use REST API Callouts to push and pull the data from SFDC, how my external application will automatically authenticate the sfdc user?
Wade WegnerWade Wegner
You will need to use OAuth. Take a look at this article (http://wiki.developerforce.com/index.php?title=Digging_Deeper_into_OAuth_2.0_on_Force.com&oldid=51462).

To make this easier, use the Force.com Toolkits for .NET. (http://blogs.developerforce.com/developer-relations/2014/01/announcing-the-salesforce-toolkits-for-net.html) Syntax is straightforward:

var auth = new AuthenticationClient();
await auth.UsernamePasswordAsync("YOURCONSUMERKEY", "YOURCONSUMERSECRET", "YOURUSERNAME", "YOURPASSWORD");