In Solution Explorer, rename the automatically generated file, Class1.cs, to BlogFeedBackgroundTask.cs.To prevent the task from closing prematurely while asynchronous code is still running, get a deferral. In this case, the task gets a syndication feed for the MSDN blogs. Your background work goes in the Run method. Implement the IBackgroundTask interface to create a class that updates your app's live tile. In the main project, add a reference to the BackgroundTasks project.Microsoft Visual Studio adds the new project to the solution.
This is a separate assembly that the OS loads and runs in the background when a user installs your app. To enable a live tile for your app, add a new Windows Runtime component project to your solution. Here's a video that shows how to add live tiles to your apps. Use a background task to update your app's live tile with fresh content.