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
Sneha KavinkarSneha Kavinkar 

How to get started with SOQL/SOSL

Hello,

I am a .NET developer and I want to pull salesforce data using SOQL/SOSL. 
There are multiple atricles on site for query syntax and tables but I didn't found anything on how to open the connection.
Any one please help me with how to get started with it. I mean how to open the connection,authentication etc.
 
pconpcon
You can either use the .NET framework [1] or you can use the REST API directly [2] to do your query.  I've never used the .NET framework, so I'm not certain how well it works.  I'd also recomend doing the SOQL trailhead module [3]

[1] https://developer.salesforce.com/blogs/developer-relations/2014/11/nothing-net-connected-service.html
[2] https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_query.htm
[3] https://developer.salesforce.com/trailhead/module/apex_database
ShivaKrishna(Freelancer)ShivaKrishna(Freelancer)
Hi there,

If I understood you correctly, you are expecting some list of data from SFDC so you can ask your Salesforce team to create a webservice to fetch the data and return the list of records so that you can call that webservice and get the data. you can either either consume the xml file and call (or) give a http call.

let me know, if you need any help.
shiva.sfdc.backup@gmail.com
Sneha KavinkarSneha Kavinkar
Hey guys, thanks for reply. I am starting with Salesforce Toolkit for .NET as given here https://seroter.wordpress.com/2014/01/16/using-the-new-salesforce-toolkit-for-net/.
By any chance can be the documentation here is oudated as I am not able to find function auth.UsernamePassword.However, there is a function UsernamePasswordAsync.