Geeks With Blogs
.Nettuce Code Salad October 2009 Entries
WCF jQuery REST JSON Service
I can't believe how long this took to figure out, I think I read every WCF tutorial out there, and now I look at it it's so mind bogglingly simple I don't know what I wasted my time doing! All I wanted was a WCF service that would accept a POST from jQuery with some JSON parameters and return some HTML, but it seems I repeatedly cocked up the JSON string format and the attributes for the contract. Anyway, here's a simple example so you don't have to endure my frustration. I used .NET 4.0 because ......

Posted On Sunday, October 18, 2009 11:18 PM

Copyright © Jon Canning | Powered by: