A common desire for a mobile application is showing a welcome / login type screen initially when an account is required and the user first runs the app. My past two Windows Phone apps have not needed this but my current one does. I thought it would be very simple and straightforward; just check some…
Windows Phone: App Config Settings – Thinking Outside the Box
File this post under the OCD, late night, crazy category. I just started a new Windows Phone application and have been working on a client for a service my app depends on. I wanted to test out the service interactions but with unit tests of my WP7 class library, not via building out a user…
WP7 In-app Searching, Filtering Part II
In my first post on WP7 in-app searching / filtering I presented a quick, first pass solution to this task. Justin Angel left some good suggestions in his comments and I wanted to enhance this feature a bit now that I’ve finally had a little bit of time to return to Windows Phone development. This…
WP7 In-App Searching, Filtering
Update: Part II builds on the below. A first pass attempt Yesterday I was searching for some examples of searching and filtering data in Windows Phone 7. I was a bit surprised I did not find anything really; when I asked on the WP7 Forum, the result was the same. So last night I spent…
Read More Another WP7 Navigation Approach with MVVM
There are various ways to navigate between views in a Windows Phone 7 application. The first example you typically see is an event wired into a View’s code-behind that calls NavigationService.Navigate(uri). How do we navigate using an MVVM pattern though? There are various ways to do that both manually and using an existing MVVM framework,…
Read More WP7 Orientation Based Scrolling
The main home view for my WP7 app has 7 main menu items in a ListBox and scrolling is not needed when the phone is in Portrait orientation. However I noticed that although a scrollbar does not appear, the ListBox was still scrollable in Portrait mode anyway. At first I set the ListBox’s VerticalScrollBarVisiblity to…
Read More Basic Windows Phone 7 Diagnostics
In preparing an error handling solution for my Windows Phone 7 application, I wanted to collect some basic diagnostic data including basic memory use, phone, and app details. Also for WP7 Marketplace certification, an app cannot consume more than 90 MB of memory, unless the phone has more than 256 MB of memory. See section…
Read More Windows Phone 7 Error Handling, Reporting
I decided to create a a basic error handling infrastructure with an Error Window for my Windows Phone 7 application with the following in mind: Informing user of a problem Displaying a user-friendly error message in Release mode Displaying a developer-friendly full error message in Debug mode Offering a more robust window than MessageBox API…
Read More Silverlight + WCF + IIS + Windows Auth + Oracle EF = PAIN
A couple days ago I started converting our Silverlight 4 app’s website and IIS-hosted WCF (v4) service to use Windows Authentication. The goal was to secure the service and data, get the user’s credentials down to the data tier and database, and provide some auditing and general security without asking for credentials already available for…
Read More