I am working in c# 4.0 to read a signed request I am using the following code
FacebookApp fap = new FacebookApp(); fap.AppId = \"789485219211963\"; // App ID
You can update it with its nuget package 'Newtonsoft.Json' using the package manager.
PM> update-package newtonsoft.json