SDK Setup Guides
C#
Installing C# SDK
you can integrate the ditto sdk into c# projects to develop for a wide range of platforms for a complete overview of the platforms, transports, and devices the c# sdk supports, see docid\ kqgf9zy 5o bxytmvymse to install the c# sdk confirm that you meet the minimum requirements ( docid 3wbw7rxiec ep8zcgaqbf ) prepare your environment for ditto ( docid 3wbw7rxiec ep8zcgaqbf ) set up your app permissions ( docid 3wbw7rxiec ep8zcgaqbf ) add ditto to your app ( docid 3wbw7rxiec ep8zcgaqbf ) prerequisites following are the minimum requirements that must be met before attempting to install ditto https //learn microsoft com/en us/dotnet/standard/net standard?tabs=net standard 2 1#net standard versions https //dotnet microsoft com/en us/download/dotnet/3 0 https //dotnet microsoft com/en us/download/dotnet framework/net40 installing dependencies using either the nuget package manager, net cli, or adding a reference to your csproj xml file install package ditto version 4 3 0 dotnet add package ditto version 4 3 0 \<packagereference include="ditto" version="4 3 0" /> for the official net standard for ditto, see the official nuget reference at packages > https //www nuget org/packages/ditto/ integrating ditto integrate ditto with your app for instructions on how to obtain your access credentials, see docid\ jqjyl9gbvsgi9vlw3ywvc for an introduction to authentication in ditto, see ditto basics > docid\ c802c1qiakfga2qxmcywu try { dittologger setminimumloglevel(dittologlevel debug); var ditto = new ditto(dittoidentity onlineplayground("replace me with your app id", "replace me with your playground token", true), path); ditto startsync(); } catch (dittoexception ex) { console writeline($"ditto error {ex message}"); } var docid = ditto store collection("people") upsert( new dictionary\<string, object> { { "name", "susan" }, { "age", 31 }, } );