is not the client accessing one of our server's Web pages, I returned to a JSON string or a stream or something? College graduates do not know much, ask for help, or recommend what book to see?
Reply content:
Recommended with HttpHandler, that is, ashx, you can learn the HTTP protocol, and from the most basic HttpRequest and HttpResponse start to understand, it is very helpful in the future I would like to say, undergraduate actually do not teach these bar. The manager tells you that the interface is simply a means of exchanging data between different systems in a generalized way. As long as you and the front of the mobile phone software/web colleagues agreed on the good. Or they follow a convention within the company.
The most common is what you say a Web page (HTTP protocol) returns JSON data or XML data. Web service is also the HTTP protocol that returns XML data, except that its XML data format is standard. But the implementation to the specific development method is many, upstairs said a lot, such as WEBAPI,WCF and so on, can be conveniently based on the HTTP URL to return JSON, and even direct ASPX output JSON is also possible HttpListener Class (System.Net)
An HttpListener Server for handling AJAX POST requests
https:// Github.com/yiyangli/mat Chme/blob/master/matchme.server/actionprocessor.cs
Webapi you can do the simplest, with WebService or ashx, directly enter the URL and parameters, and then return to the JSON format text is good, so the learning cost is low, fast, of course, this controllability is too low, generally not recommended WCF
Or
/ http ASP
MVC WEB API
Push book Ah, I do not recommend starting from the foundation, I like to recommend * * * from the beginner to proficient
/ http ASP
MVC 4 Framework Decryption
This is very good ~ (I do not have this electronic version, only the physical book, but there is another electronic version, I think these are similar)
WCF's books seem to speak more deeply (and that's not quite the case, it's all about the great features of WCF)
You can return the JSON format directly to Google WCF
Undergraduate I do not know, I have the original student's tat