https://dev.freeagent.com/docs

http://json.codeplex.com/

Email File attachments

Uploading new Files into FreeAgent is now as fast and simple as sending an email.

Just attach the files to an email, send it to files@yourdomain.freeagent.com and SHAZAM - the attachments will appear in your Files section.

We've also upped the max file size limit on attachments to an altogether more accommodating 5MB. Go crazy!

HttpWebRequest

HttpWebRequest request = (HttpWebRequest) HttpWebRequest.Create("http://localhost:2616/Default.aspx/JsonTester");
request.ContentType = "application/json; charset=utf-8";
request.Accept = "application/json, text/javascript, /";
request.Method = "POST";
using (StreamWriter writer = new StreamWriter(request.GetRequestStream()))
{
writer.Write("{id : 'test'}");
}

WebResponse response = request.GetResponse();
Stream stream = response.GetResponseStream();
string json = "";

using (StreamReader reader = new StreamReader(stream))
{
while (!reader.EndOfStream)
{
json += reader.ReadLine();
}
}

// 3.5+ adds 'D' to the result, e.g.
// d":"{\"Name\":\"bob\",\"Age\":20,\"Foods\":[\"cheeseburger\",\"caviar\"]}
// So it thinks it's a dictionary with one key/value
JavaScriptSerializer serializer = new JavaScriptSerializer();
Dictionary<string, object> x = (Dictionary<string, object>)serializer.DeserializeObject(json);
MyData data = serializer.Deserialize<MyData>(x"d".ToString());

OAuth

User Auths app via website. App receieves access token. App can then save that token so that the user no longer needs to log in.

http://reactiveoauth.codeplex.com/

SymLink

C:\Users\geek>mklink
Creates a symbolic link.

MKLINK /args Link Target

/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link
refers to.