WCF Restful Web Service returns JSON

I read in WCF and was looking for a good tutorial on creating a WCF Restful service that returns Json. It seems I can’t find what is really worth reading, does anyone have someone they recommend for those who just want to start with the basics and learn about WCF Restful? I'm not sure if I should start with WCF 3.5 or WCF 4. I am using Visual Studio 2010, so I could do one or both.

+4
source share
4 answers

WCF4 already has nice built-in templates for JSON, while in WCF 3.5 it is a bit complicated, and you need to manually add support for this.

check it out for some documents

Hope this helps

+3
source

I honestly used MSDN and thought it was very important. Its what I used to pick up to sniff and build my rest service WCF, but I guess you already looked there. This was my favorite link, which I still celebrate to this day.

Regarding your 4.0 vs 3.5. I almost always rely on later technologies if you can, especially WCF, simply because Microsoft has simplified things a bit, like Leon said.

+1
source

There is a video for beginners and is certainly very useful.

You can learn how to create services in minutes.

http://msdn.microsoft.com/en-us/netframework/dd939784

There is a video that shows how to set up json service to relax.

+1
source

I read on WCF and looked for a good tutorial on creating a WCF Restful service that returns Json. It seems I can’t find everything that is really worth reading, does anyone have a recommendation for those who just want to start with the basics and learn about the WCF Restful service?

I had exactly the same problem last year.

In the end, I developed the steps that you must follow to create the JSON WCF web service β€” it's simple if you follow each of the steps correctly, but finding the easy-to-use step-by-step instruction was difficult.

Here's the walkthrough that I created, clearly documenting what you need to do:

http://mikesknowledgebase.com/pages/Services/WebServices-Page1.htm

I follow this walkthrough when creating services for both ASP.Net applications and iOS applications.

Json data

Good luck

0
source

Source: https://habr.com/ru/post/1383929/


All Articles