Adding support for networking (HTML)


Windows 8.1 provides support for making your app connected or network-aware. In order to provide a reliable connected experience for users, you will need to provide the appropriate network capabilities and set the right background connectivity options. It is also helpful to know where to start troubleshooting if your app encounters network-related errors.

These topics contain information on adding support for networking to your app.

Topic Descriptions
How to set network capabilities Explains how to control the security profile of a Windows Store app and set levels of access to your networked app by selecting the appropriate capabilities.
How to secure connections and authenticate requests Explains how to secure connections and provide authentication credentials required to establish and use secure network connections.
How to use data caching during network operations Explains how to use data caching with network operations in a Windows Runtime app.
How to set background connectivity options Explains the background network connectivity feature in Windows 8.1 and how to configure background connectivity options for a Windows Runtime app.
How to handle exceptions in network apps Explains how to handle exceptions when using networking APIs in a Windows Runtime app.
Troubleshooting and debugging network connections Provides a number of methods for troubleshooting errors and issues related to network connections.


Developer audience

Developers interested in creating connected and network-aware Windows Runtime apps using JavaScript and HTML or using VB/C#/C++ and XAML.

Other resources

Accessing connection and data plan information

Accessing syndicated web content

Connecting to a web service

Connecting to network services

Connecting with WebSockets

Connection state and cost management

Supporting proximity and tapping

Working with Live services













AtomPub sample

Background Transfer sample

DatagramSocket sample

Network Information sample

HttpClient Sample

Syndication sample

StreamSocket sample

Web authentication sample

WebSockets sample