Giter Site home page Giter Site logo

parse-sdk-dotnet's Introduction

Parse SDK for .NET

Build status codecov Nuget License

Getting Started

The latest stable release of the SDK is available as a NuGet package. Note that the latest package currently available on the official distribution channel is quite old. To use the most up-to-date code, build this project and reference the generated NuGet package.

Using the Code

Make sure you are using the project's root namespace:

using Parse;

Then, in your program's entry point, paste the following code, with the text reflecting your application and Parse Server setup emplaced between the quotation marks.

ParseClient.Initialize(new ParseClient.Configuration
{
    ApplicationID = "",
    Key = "",
    ServerURI = ""
});

ApplicationID is your app's ApplicationId field from your Parse Server. Key is your app's DotNetKey field from your Parse Server. ServerURI is the full URL to your web-hosted Parse Server.

If you would like to, you can also set the MasterKey property, which will allow the SDK to bypass any CLPs and object permissions that are set. This property should be compatible with read-only master keys as well.

There are also a few optional parameters you can choose to set if you prefer or are experiencing issues with the SDK; sometimes the operation that generates values for these properties automatically can fail unexpectedly, causing the SDK to not be able to initialize, so these properties are provided to give you the ability to bypass that operation by providing the details outright.

StorageConfiguration represents some metadata information usually collected reflectively about the project for the purpose of data caching. VersionInfo represents some version information usually collected reflectively about the project for the purposes of data caching and metadata collection for installation object creation.

To find full usage instructions for the latest stable release, please visit the Parse docs website. Please note that the latest stable release is quite old and does not reflect the work being done at the moment.

Building The Library

You can build the library from Visual Studio Code (with the proper extensions), Visual Studio 2017 Community and higher, or Visual Studio for Mac 7 and higher. You can also build the library using the command line:

On Windows or any .NET Core compatible Unix-based system with the .NET Core SDK installed:

dotnet build Parse.sln

Results can be found in either Parse/bin/Release/netstandard2.0/ or Parse/bin/Debug/netstandard2.0/ relative to the root project directory, where / is the path separator character for your system.

How Do I Contribute?

We want to make contributing to this project as easy and transparent as possible. Please refer to the Contribution Guidelines.

License

Copyright (c) 2015-present, Parse, LLC.
All rights reserved.

This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant 
of patent rights can be found in the PATENTS file in the same directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.