Chapter 14 – Building Web Applications and Services Using ASP.NET Core
- What is the difference between a web browser and a web server?
A web browser makes HTTP requests for resources and a web server sends HTTP responses back containing a mix of HTML, CSS, JavaScript, and other media formats, which the browser then displays to the end user.
- What is the difference between a URI, a URL, and a URN?
Uniform Resource Identifier (URI) is the more general term instead of URL or URN. A Uniform Resource Locator (URL) is a type of URI that species a location of a resource. A Uniform Resource Name (URN) is intended to serve as persistent, location-independent identifier.
- What are the four most common HTTP methods?
The
GET
,POST
,PUT
, andDELETE
are the most common HTTP methods. - What does it mean when a web server responds with status code
302
?The web server is indicating a temporary redirect. This means that the web server found the resource but it is at a different location. A response header is...