Skip to Main Content
Programming ASP.NET 3.5, 4th Edition
book

Programming ASP.NET 3.5, 4th Edition

by Dan Maharry, Dan Hurwitz, Jesse Liberty
October 2008
Intermediate to advanced content levelIntermediate to advanced
1166 pages
28h 31m
English
O'Reilly Media, Inc.
Content preview from Programming ASP.NET 3.5, 4th Edition

Understanding Web Service Protocols and Standards

Web services are built using a number of industry-standard protocols. Although covering these in detail is beyond the scope of this book, the following overview will help you understand the architecture of web services.

A protocol is a set of rules that describe the transmission and receipt of data between two or more computing devices. For example, Transmission Control Protocol/Internet Protocol (TCP/IP) governs the low-level transport of packets of data on the Internet.

HTTP

Hypertext Transfer Protocol (HTTP) is used to enable servers and browsers on the Web to communicate. It is primarily used to establish connections between servers and browsers and to transmit data, such as HTML pages or images, to the client browser.

The client sends an HTTP request to the server, which then processes the request. The server typically returns HTML pages to be rendered by the client browser. HTTP requests start with a verb. The typical verbs used by browsers are GET and POST (web servers also support PUT for creating new resources, DELETE for deleting them, HEAD for getting the metadata for a resource, and others). In a typical HTML form page, GET is used to access the HTML that shows the form and POST is used to process it (for more information visit http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html).

Since the verbs could technically be used interchangeably, there are guidelines for when to use GET and when to use POST. You should use a GET ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Microsoft® ASP.NET 3.5

Programming Microsoft® ASP.NET 3.5

Dino Esposito
Learning ASP.NET 3.5, 2nd Edition

Learning ASP.NET 3.5, 2nd Edition

Brian MacDonald, Dan Hurwitz, Jesse Liberty
Pro ASP.Net 4 in C# 2010

Pro ASP.Net 4 in C# 2010

Matthew MacDonald, Adam Freeman, Mario Szpuszta
Programming .NET 3.5

Programming .NET 3.5

Jesse Liberty, Alex Horovitz

Publisher Resources

ISBN: 9780596156657Supplemental ContentErrata Page