Skip to content

apexsharp/apexsharp

Repository files navigation

A C# to APEX Converter AND a APEX to C# Converter

Apex <> C# - Two Way Transpiler. A Quick 10 Min Video Intro can be found at https://vimeo.com/224927838

We are working on a detail documentation, but for now we assume you are a C# developer who is working on Salesforce. Our document Wiki will be https://github.com/apexsharp/apexsharp/wiki

Setting up and Running

  1. Create a new SF Dev org, get your API Token
  2. Download this Repo (If you want to contribute please work on the dev branch)
  3. This is a Net 2.0 project thus you can open this on Visual Studio, Visual Studio Code, Visual Studio for Mac or JetBrains Rider.
  4. Open the apexSharp Solution
  5. Create an appsettings.json file with the following info. Here we assume you save the git repo to your C: drive and you are using Windows.
  • The location of your log File
  • SessionFileInfo is where your SF session will be saved or located
  • SalesForceLocation is the location of your Salesofrce project
  • VsProjectLocation is the location of your Visual Studio Project
  • Your SF Id
  • Your SF Password
  • Your SF Token
{ 
  "LogFile": "c:/apexsharp/Demo/log.log", 
  "SessionFileInfo": "c:/apexSharp/config.json",
  "SalesForceLocation": "c:/apexSharp/SalesForce/src/",
  "VsProjectocation": "c:/apexSharp/Demo/",
  "SalesForceUserId": "Your SF Id",
  "SalesForcePassword": "SF Password",
  "SalesForceToken": "SF Token"
}
  1. Open the Demo Project. You can find examples in the /CSharpClasses Folder
  2. Run Program.cs

Folder Structure

/Demo is the folder you will be working on. It contains few examples

/Salesforce contains a SF project that is used for the above demo

Questions ? Post it at https://github.com/apexsharp/apexsharp/issues

About

SDK to develope Salesforce Applications in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •