網路和 Web 服務Networking and web services

下列網路和 Web 服務技術可供通用 Windows 平台 (UWP) 開發人員使用。The following networking and web services technologies are available for Universal Windows Platform (UWP) developers.

主題Topic 描述Description
網路功能基本知識Networking basics 您對於任何具備網路功能的 app 所需執行的動作。Things you must do for any network-enabled app.
哪一種網路功能技術?Which networking technology? 適用於 UWP 開發人員的網路功能技術概觀,並建議您如何選擇最適合的應用程式的技術。An overview of the networking technologies available for a UWP developer, with suggestions on how to choose the technologies that are right for your app.
背景網路通訊Network communications in the background 若要繼續網路通訊 (不是在背景中),應用程式可以使用背景工作與通訊端代理程式或控制通道觸發程序。To continue network communication while it's not in the background, an app can use background tasks and either socket broker or control channel triggers.
通訊端Sockets 通訊端是低階資料傳輸技術,許多網路通訊協定在其上實作。Sockets are a low-level data transfer technology on top of which many networking protocols are implemented. UWP 為用戶端-伺服器或對等應用程式提供 TCP 與 UDP 通訊端類別,不需要指定連線是長期或已建立的連線。UWP offers TCP and UDP socket classes for client-server or peer-to-peer applications, whether connections are long-lived or an established connection is not required.
WebSocketWebSockets WebSocket 提供了一項機制,可讓用戶端與伺服器之間透過使用 HTTP(S) 的 Web 快速且安全地進行雙向通訊,並支援 UTF-8 和二進位訊息。WebSockets provide a mechanism for fast, secure, two-way communication between a client and a server over the web using HTTP(S), and supporting both UTF-8 and binary messages.
HttpClientHttpClient 使用 Windows.Web.Http 命名空間 API,透過 HTTP 2.0 與 HTTP 1.1 通訊協定傳送和接收資訊。Use Windows.Web.Http namespace API to send and receive information using the HTTP 2.0 and HTTP 1.1 protocols.
RSS/Atom 摘要RSS/Atom feeds 使用 Windows.Web.Syndication 命名空間中的功能,以 RSS 和 Atom 標準為依據產生的同步發佈摘要,來抓取或建立最新最熱門的網頁內容。Retrieve or create the most current and popular Web content using syndicated feeds generated according to the RSS and Atom standards using features in the Windows.Web.Syndication namespace.
背景傳輸Background transfers 使用背景傳輸 API 在網路上可靠地複製檔案。Use the background transfer API to copy files reliably over the network.