Network Communication

Network Communication: Network Communication in C#: an overview, IP Addresses and Ports, How to read a URL, Static Websites, Request / Response.

Updated

  1. Network Communication in C#: an overview (Novice): Programs talk to each other by sending messages over a network, even when both run on the same computer. Your C# app already does this with SQL Server; a browser does it with a web app.
  2. IP Addresses and Ports (Novice): An IP address finds the computer, and a port finds the program on it. Meet localhost, the ports the web uses, and the ports your own apps listen on.
  3. How to read a URL (Novice): A URL has five parts (protocol, domain name, port, path and query string), and each one tells the web server something about the request.
  4. Static Websites (Apprentice): A static website is built from hand-written HTML files, so the path in a page's URL is the path to that file on the server.
  5. Request / Response (Apprentice): The browser sends a request and the server sends back one response, and the server does not remember earlier requests.