Setting Up Your .NET Developer Environment
This tipsheet describes how to set up your local environment so that you can start using Salesforce APIs, such as SOAP API or REST API.
If you’re setting up a local environment to develop Salesforce applications using Apex and custom Metadata API components, take a look at the Salesforce Extensions for Visual Studio Code.
This tipsheet focuses on tools and configurations you need to set up your local development system. It assumes you already have a working Salesforce organization with the API Enabled permission. API is enabled by default on Developer Edition, Enterprise Edition, Unlimited Edition, and Performance Edition organizations.
To create a Developer Edition org, go to developer.salesforce.com/signup and follow the instructions for signing up for a Developer Edition organization.
If you have a Salesforce organization you can use for development but need to set up a sandbox for development and testing, see Deploy Enhancements from Sandboxes in Salesforce Help.
-
Installing Microsoft Visual Studio
You’ll need to install Microsoft Visual Studio to use Salesforce APIs. Visual Studio is a development environment that enables you to create robust .NET applications.
-
Picking a Path Based on Which API You Use
The next steps for setting up your development environment depend on which Salesforce API you want to use.
-
Download Developer WSDL Files (WSDL-Based APIs)
Salesforce Web Services Definition Language (WSDL) files provide API details that you use in your developer environment to make API calls.
-
Verify the WSDL Environment (WSDL-Based APIs)
You can verify your developer environment with a simple C# test application in Visual Studio.
-
Setting Up External Client App Access (REST-Based APIs)
Because Salesforce REST APIs use OAuth authentication, create an external client app to integrate your application with Salesforce.
-
Verify the REST Environment (REST-Based APIs)
You can verify your developer environment with a simple C# test application in Visual Studio.