I am leaning towards WCF as my main source of service (I may need multiple end-points in the future), and here are the things that I have been stuck at...
- WCF to CLIENT: How can I make my MVC accept JSON data from WCF service and parse it into C# primitive/complex types?
CLIENT to WCF: How can I send JSON formatted data from MVC to WCF and have it parsed to C# primitive/complex types?
side question: How can I make WCF use REST as its protocol and transmit JSON format data? Do I use REST starter kit or is it built in on WCF?
Basically, this is my architecture:
WCF === (format: JSON) ===> ASP.net MVC 3 (...and back)
WCF === (format: JSON) ===> misc client (...and back)
code samples would help greatly!
Thanks in advance for the help! :)