function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yelena RivasYelena Rivas 

Connecting to Salesforce database from .NET app

I am new to salesforce and I want to connect to the salesforce database from my custom .NET Application and not via salesforce.com. How can this be made possible? How do I get started?
Best Answer chosen by Yelena Rivas
Frédéric TrébuchetFrédéric Trébuchet
Hi,

Try to start here https://developer.salesforce.com/forums?id=906F00000008sEOIAY
or http://code.google.com/p/salesforce-dotnet/
or https://www.google.fr/search?q=connect+.net+to+salesforce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a&channel=fflb&gfe_rd=cr&ei=Ipa2VKOPLqef0wWytYHQDA (https://www.google.fr/search?q=connect+.net+to+salesforce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a&channel=fflb&gfe_rd=cr&ei=Ipa2VKOPLqef0wWytYHQDA)

Hope this helps,
Fred

All Answers

Frédéric TrébuchetFrédéric Trébuchet
Hi,

Try to start here https://developer.salesforce.com/forums?id=906F00000008sEOIAY
or http://code.google.com/p/salesforce-dotnet/
or https://www.google.fr/search?q=connect+.net+to+salesforce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a&channel=fflb&gfe_rd=cr&ei=Ipa2VKOPLqef0wWytYHQDA (https://www.google.fr/search?q=connect+.net+to+salesforce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a&channel=fflb&gfe_rd=cr&ei=Ipa2VKOPLqef0wWytYHQDA)

Hope this helps,
Fred
This was selected as the best answer
Yelena RivasYelena Rivas
Thank you! I was wondering if I can use my salesforce login for the database connection?
Michael ShattuckMichael Shattuck
There are a few different .NET libraries you can use to help you accomplish this. One in particular is SalesforceMagic. Just as a disclaimer this is a library I wrote. I wrote it with the goal of allowing .NET apps to connect to Salesforce very easily. https://github.com/clamidity/SalesforceMagic
Yelena RivasYelena Rivas
I am logged in to my salesfoce account and trying to find setup but can't. Can anyone help?
Frédéric TrébuchetFrédéric Trébuchet
Top of the screen, just right your username
Yelena RivasYelena Rivas
I only see on the right of my username "Help & Training" and "Platform"
Frédéric TrébuchetFrédéric Trébuchet

In this case, click your name then, setup
https://help.salesforce.com/HTViewHelpDoc?id=basics_nav_setup.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=basics_nav_setup.htm&language=en_US)
 
Yelena RivasYelena Rivas
I do not have it there either. Only My Settings and Log out. Perhaps I have the wrong edition? I am just using salesforce.com
Yelena RivasYelena Rivas
Looks like I found it but when I click on App Menu, I get a message saying I do not have necessary permissions
Frédéric TrébuchetFrédéric Trébuchet
That's it, you don't have the required profile on that org.
I suggest you to sign up for your own developer org. You will get it with no time limit you can learn/test/try what you want with it.

Feel free to keep in touch on linkedin if you want.
Fred