Auto-update your NuGet packages at build time

Posted by Brandon on November 28, 2014 Tags: 

NuGet is great. So great, in fact, that I’ve set up my own NuGet server in Azure to use during my personal development to share Common projects, etc. It’s insanely nice as now I can do my builds using packages from other VSO projects without any hassle.

But for my own personal development, and likely any private NuGet dev that my readers might be doing, it makes some sense to not only deploy libs as NuGet projects, but also configure the applications that use them to pull the latest version of the libs at build time. But NuGet doesn’t do this. By default, anyway… ;)

(more…)

No Comments

Windows 10’s dangerous update – KB3001512

2014-10-05_1600.png Posted by Brandon on October 3, 2014 Tags: 

I’m not the only one reporting this issue, but I’ve also become aware of a few users not having problems. So, I thought I’d just post this as a PSA to people running the new Technical Preview who may be having problems with Store apps and their UIs.

(more…)

1 Comment

Get your own short url (and use it!)

2014-10-02_0817.png Posted by Brandon on October 2, 2014 Tags: ,

Got a blog? Want to make yourself a bit more noticeable around the interwebs? What better way to do it than your own short url (a la bit.ly, j.mp, goo.gl, etc)

** Note: If you’re not familiar with domain purchasing, hosting, and nameservers, this might get over your head. So read up on that first.

(more…)

No Comments

Removing Ads with an IAP – the Declarative way

Posted by Brandon on September 26, 2014 Tags: , , ,

Microsoft’s XAML provides a way for us to define our UI in a declarative manner. Combined with databinding it means you should – in almost every case – never have to directly reference a UI control to accomplish some work. Add the MVVM design pattern in to the mix and I find myself “rethinking” any implementation where I think x:Name=”” is needed on a XAML control.

Let’s see how we can remove an ad control application-wide and upon purchase of its corresponding IAP without ever naming the control itself.

(more…)

No Comments

Programmatically changing UI language in Windows Phone

Posted by Brandon on September 13, 2014 Tags: , ,

If you’ve done globally-focused development on Windows Phone, you already know that to change the display language, you have to do so in the Settings area of the phone, then reboot the emulator (or physical device) for the change to take effect.

What a pain. Wouldn’t it be better to change the UI language on-demand? Not to mention provide end users the ability to do so within your app as an added convenience. In this blog post, I’ll show you just how to make that happen.

(more…)

m4s0n501
3 Comments

Testing disk space exceptions with CopyToAsync

Posted by Brandon on September 1, 2014 Tags: , ,

I got an error report from the field in Upload to YouTube where the user was getting an unhandled exception when I copied their Camera Roll video to temporary storage to hand off to Movie Maker for editing. Great catch, now to shore up the UX when this happens. Only problem is, I need to test filling up the disk during a copy. How could I possibly do this?

(more…)

No Comments

Windows Phone 8, Family Safety, and your kids

image.png Posted by Brandon on August 22, 2014 Tags: ,

Amazon recently had a sale on the Lumia 520 “GoPhone” from AT&T. It was down to only $40 out the door, and I also had $10 in Amazon gift card credit in my account. So why not. Free shipping, to my door, and I have a new test device for my Windows Phone app development.

One thing I also wanted to see with this phone, though, was just what Microsoft’s Family Safety brings to the table on the WP platform. I have been using FS on my kids’ desktop and tablet accounts for years, but hadn’t yet checked out what MS offers on WP. Let’s dive in.

(more…)

1 Comment

WP dev user review responses: good, bad, or ugly?

image.png Posted by Brandon on August 18, 2014 Tags: ,

All over the news lately is the new release of the ability for Windows Phone developers to respond to user reviews via the dev center, something of which any developer can immediately see the value.

(more…)

No Comments

Multilingual App Toolkit – Give your app some global appeal

image.png Posted by Brandon on July 15, 2014 Tags: , ,

Sure, you’re a good dev and you know that you should be putting all your strings in a RESX file if for no other reason than to centralize them so you only have to update them in one place. And maybe you do get some translations to other languages (good for you!). But what if you could harness the power of Microsoft and Bing to bring the Translation Portal and Bing Translator right in to your app? Now you can. And it couldn’t be easier.

(more…)

2 Comments

Localizing your app name and tile on Windows Phone 8

image.png Posted by Brandon on July 14, 2014 Tags: , ,

This past week we’ve been presented with quite a few reasons to make sure that when we develop, we’re thinking globally, not just locally in terms of who’s going to be using and downloading our app:

(more…)

1 Comment