Skip to content
Raymond Brady edited this page Apr 25, 2016 · 3 revisions

To use the Parse .NET SDK with Parse Server, change the server URL to your Parse API URL (make sure you have the latest version of the SDKs). For example, if you have Parse Server running locally mounted at /parse:

Install the SDK

See the nuget site for details: https://www.nuget.org/packages/Parse

Be sure to add the following using statement.

using Parse;

Then call ParseClient.Initialize. Set your application id and Parse Server URL:

  ParseClient.initialize(new ParseClient.Configuration {
    ApplicationId = "YOUR_APP_ID",
    Server = "http://YOUR_PARSE_SERVER/parse/" // trailing slash is important
  });

Server URL

  • Server port may be needed depending on your setup. ie: http://YOUR_PARSE_SERVER:1377/parse/
  • Be sure to include the trailing slash.

After installing the SDK and initializing the ParseClient. Try saving to your parse server. For example:

var testObject = new ParseObject("TestObject");
testObject["foo"] = "bar";
await testObject.SaveAsync();

For more details visit the Parse Server Guide:

Parse Server Guide

Using parse sdks with parse-server

Clone this wiki locally