Getting Daily Emails with your Windows Store and Windows Phone App PubCenter Earnings

If you’re writing Windows Phone or Windows Store apps and you’re using Microsoft’s pubCenter to display adverts, you can schedule a daily email report of your earnings for that day.

Log in to pubCenter.

Go to the reports tab and choose Create report.


Expand Save report template.


Give your report a name, schedule, and email address for it to be sent to.

UPDATE: Make sure you tick the “Include report as e-mail attachment”.

Click Save Template.

Now you’ll receive a daily email with an attached CSV containing your revenue for the day. It would be nice if this was in the body of the email rather than as an attachment though.

You can also look at some of the advanced options :)


A Windows 8 App - From Idea to Store in 8 Hours

I had an idea for a simple Windows Store app, so I thought I’d develop it but keep track of how long it took me and what I spent my time on.

The total time spent working on the app was 8 hours and 10 minutes, this included: sketching ideas and feature possibilities, developing the app, creating icons and promo images, and submitting to the Windows Store.



Designing Windows 8 Apps Course

It is with much excitement that my first ever Pluralsight course on Designing Windows 8 apps has just been released.

The course leads you through the process of capturing and evaluating ideas, choosing and prioritising app features,  and onwards into actually designing the navigation experience, user interface, and integrating your app into Windows 8.

You can check it out now, if you don’t already have a Pluralsight subscription you can check out my course for free by signing up for the free trial!


Paper Prototyping Templates for Windows 8 Apps

Sketching out designs and creating paper prototypes can help to visualise your app and correct design mistakes earlier and before coding begins. To help with this I've produced the following paper prototype templates to help (right click & save):

Windows 8 Paper Prototype template - full screen mode



An Update on Keeping Software Soft

I’m writing my first ever book calling Keeping Software Soft.

I just published 3 new chapters:

  • Technical Debt
  • Software Craftsmanship, Professionalism, and Personal Development
  • What Programmers Want and What Your Manager Should Understand

The book is about 85% complete, there are a few more chapters to write and I might replace some of them with other topics.

Once the final few chapters are written the entire manuscript will be proofread and modified by myself before further final proofing by others.

Once the final version is complete it will be available via Leanpub, Amazon kindle, and iBooks. It is hoped than the final version will be complete by mid-year.

I’d like to say a personal thankyou to all the earlier supporters who have been buying the in-progress versions.



Mocking Framework for Windows Store apps (and Windows Phone)

With Windows Store apps there are challenges getting traditional mocking frameworks such as Rhino and Moq working due to limited reflection support in the platform (presumably for security reasons).

I wrote a mocking solution when Windows Phone 7 first came out, it can also be used for Windows Store apps. I’ve updated the NuGet descriptions etc. to reflect this.

How To Do TDD with Mocking in Windows Store Apps

Create a new (C#/XAML) Windows Store app project in Visual Studio called “MyAwesomeApp”.

Create your test project “MyAwesomeApp.Tests” and reference your main app.


In the main app project, install the MoqaLate NuGet package.  When the package is installed you will have a new folder in the main app solution called “MoqaLateCommandLine”:


(Inside this folder is a readmexxx.txt file with some additional info)



Introducing InAppPurchaseToggle for Windows Store In App Purchase

I just released version 2 of a new open source project called InAppPurchaseToggle.

It simplifies querying if the current user has paid for a particular in-app-purchase (IAP).

It’s convention based and allows creation of strongly-typed objects to represent each IAP offer that you’ve configured in the win8 dev dashboard for your app.

How To Use (updated for v2.0.0)

Create a new Windows Store app project (C#/XAML)in Visual Studio.

Install the NuGet package InAppPurchaseToggle.

Currently the package just installs the source in a folder called “InAppPurchaseToggleCode”, this is to simply multi platform (ARM, x86, x64) until NuGet is able to provide dll versions for different platforms.

Single In App Offer

Assuming you had set up an in app offer in the developer dashboard for your app called “AwesomeFeature1” you would create the following class:

internal class AwesomeFeature1 : InAppPurchaseToggle.SinglePurchaseToggleBase {}

There’s no need to implement anything else. Note: the name of the class exactly matches the name of the offer that was created in the developer dashboard.