This section looks at creating a to-do list app that uses periodic tasks in conjunction with a scheduled task agent. The app allows the user to enter a to-do item, which is stored in a local database, and which can be pinned as a live tile on the start experience. We look at using a periodic task to update the status of the to-do item live tiles.
To-do items are represented by the
TodoItem class, which contains three properties:
DueDate is of type
DateTime and indicates when the to-do item should be considered overdue.
TodoItem objects are persisted using LINQ to SQL. The
TodoItem class is decorated with a
Table attribute, and its properties with
Column attributes (see ...