Adding support for networking (Windows Store apps using C#/VB/C++ and XAML)

Language: JavaScript and HTML | VB/C#/C++ and XAML
This topic has not yet been rated - Rate this topic

Purpose

This topic shows how to set network capabilities required for network access, how to handle network connections as background tasks, and how to secure and troubleshoot network connections for a Windows Store app.

Windows 8 provides support for making your Windows Store app connected or network-aware. In order to provide a reliable connected experience for users, you will need to define the resource requirements before network access is provided. Networked apps should also accommodate the Windows 8 device lifecycle, including frequent transitions between different networks and power states, and apps being suspended and no longer in the foreground. It is also helpful to know how to start troubleshooting if your app encounters network-related errors.

The following scenarios for Windows Store apps are supported:

  • Set network capabilities required for network access.
  • Handle long-lived network connections with background tasks.
  • Secure network connections established by your app.
  • Troubleshoot and debug network connections established by your app.

This section contains information on adding support for networking to your app.

TopicDescriptions
How to configure network isolation 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.
Stay connected in the background Explains the background network connectivity feature in Windows 8 and how to configure background connectivity options for a Windows Store 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 Store apps using VB/C#/C++ and XAML.

Related topics

Other resources
Connecting to a web service
Connecting with sockets
Connecting with WebSockets
Working with Live services
Proximity and tapping
Accessing connection and data plan information
Accessing syndicated web content
Reference
Windows.Networking
Windows.Networking.BackgroundTransfer
Windows.Networking.NetworkOperators
Windows.Networking.Connectivity
Windows.Networking.Proximity
Windows.Networking.PushNotifications
Windows.Networking.Sockets
Windows.Web.AtomPub
Windows.Web.Syndication

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.