You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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();