JSON.Net example

Posted by on Sep 9, 2011 in Software Development | No Comments

A very simple C-Sharp example of how to use the JSON.Net library. JSON.NET is available on codeplex. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json;   namespace JSONNetConsoleApplication1 { class Program { static void Main(string[] args) { // create an instance, fill instance ProductionOrder PO = new ProductionOrder(); PO.Id = "123"; PO.ProductId = ...

Toggl API .Net Example

Posted by on Sep 8, 2011 in Software Development | One Comment

This is a C-Sharp example of how to connect to the toggl API. It is compatible with version 6 of the toggl api. The code shows you how to authenticate and then download the ‘workspaces’ from your toggl user account. I’ve tested the program in VS2010 / .NET 3.5. The JSON.Net library is required. The ...