Introduction

This article explains Collection Data Sources of Windows Phone App Studio. You will first learn about a collection Data Sources and then will see how to add them to an application. We will also learn about various options that we can configure in it. In this article we won't create any application but only learn the theory of this Data Source.

Collection Data Source

A Collection Data Source is a Data Source that allows you to store your own data. The data is stored in Tables. This Data Source offers full support for table schema modifications. In a table, a column represents the various fields of your data structures. These column values can be used inside the app using data bindings. The fields of data can be anything related to your application or problem, for example it can be a phone number, address, name, description, image and so on.

Windows Phone App Studio supports two types of Collection Data Sources. One is a static data resource based and another is App Studio Data Service based. Both Data Source types have their own specific use as we will see in my next few articles and the difference between them becomes very clear from the next paragraph.

Static resources

App Studio Data Service

This article is centered on static resources.

Adding Collection Data Source

To add a Collection Data Source:

You are done with adding the Data Source. Now the next step is to make it ready for use.

Setting Collection Data Source

To add the data or content or more precisely HTML in your Data Source:

Summary

In this article I used the static resources type collection. In my future articles I will explain import, export, table alterations and dynamic Data Sources. Thank you for reading this article. Don't forget to comment and share.