POST multiple parameters to an ASP .NET Web Api REST service from a .NET 3.5 assembly, by using one dynamic JObject "options" parameter.

0 Comments

  Client code in .NET 3.5   namespace WordMerge.EndToEndTests { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using Newtonsoft.Json; [TestClass] public class UnitTest1 { [TestMethod] public void Execute_a_post_request() { string url = "http://localhost:63544/api/document"; object result =

JSON Serialization and Deserialization

0 Comments

Found a good articale on JSON Serialization and Deserialization: http://www.codeproject.com/Articles/272335/JSON-Serialization-and-Deserialization-in-ASP-NET I used this article to create a class that serializes DataSet, DataTable and DataRow objects: I just changed one aspect of the codeproject article, I