Author: TwasBrillig | Posted on: 4/30/2010 9:01:35 AM | Views : 773

I'm lost.  I understand WCF is the way to go for AJAX/jQuery client interaction, and I've been reading and watching WCF videos for that past week; but there seem to be dozens of different types of WCF templates with dozens of attributes and other differences.  Which is the right one for me?

I'm using VS2010. I want a fairly data-bound web service for a smallish web application. It will perform AJAXy searches, and probably get JSON data back. I might post simple queries via plain-old-XML. It is very RESTful. I have some stored procs written already and I've created a couple of composite EF entities. I want to use ASP.NET authorization, initially bound to an old proprietary session variable. I'm comfortable running the service within the (only) web application.

I also understand I should use DataContractJsonSerializer rather than JavascriptSerializer, and I don't know if that relates to these project types.


Go to the complete details ...