Skip to content

ecrisostomo/stormpath-csharp-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stormpath-csharp-sample

This sample application shows how to make calls to Stormpath from C#, using the RestSharp library.

Some comments for the people that will use this project:

  1. It is a C# project for Visual Studio.
  2. The Main method is in the Program class.
  3. It uses two external libraries: RestSharp (REST/HTTP library) and Json.NET (Json serializer).
  4. The CSV file, accounts_to_import.csv, that contains the accounts to be imported is configured to always be copied to the output directory of this project.
  5. It assumes that the apiKey.properties file is in: $HOME/Stormpath/apiKey.properties
  6. If the apiKey.properties file is downloaded in Windows, it will need a new line right before the apiKey.secret section. Looks like the new line doesn't work automatically for Windows. It will look something like: apiKey.id=THEAPIKEYIDVALUEapiKey.secret=THEAPIKEYSECRETVALUE
  7. If tou want to remove from Stormpath what the application creates, uncomment the last few lines of the Main method.

But it should look like:

apiKey.id=THEAPIKEYIDVALUE
apiKey.secret=THEAPIKEYSECRETVALUE

About

Sample application to use Stormpath from C#.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published