Geeks With Blogs

Tim Murphy

Tim is a Solutions Architect for PSC Group, LLC. He has been an IT consultant since 1999 specializing in Microsoft technologies. Along with running the Chicago Information Technology Architects Group and speaking on Microsoft and architecture topics he was also contributing author on "The Definitive Guide to the Microsoft Enterprise Library".

I review for the O'Reilly Blogger Review Program

Technorati Profile

Tim Murphy's .NET Software Architecture Blog Adventures in Architecting and Developing .NET

Windows Phone 7 development is an exciting topic.  I have been exploring WP7 development for a little while now and I figured I would post some of the basic concepts that might be helpful to beginners.  So here they are in no particular order.

Panorama control

I kept seeing references to the Panorama Control.  It seems that this was a control that existed separately during the beta for WP7.  In the final release this is now incorporated into a page type, so you won’t see the control in the toolbox.

So what is it?  This is a page type that contains panorama control and allows the user to swipe left or right to move between content.  You will se this in many of the apps you use every day including mail client that comes with the operating system as well as the games and market place hubs.

I have found it useful to place a ScrollViewer in the PanoramaItem element.  This gives bi-directional scrolling of your content.  Give it a try.

Application bar

The application bar is the row of buttons and menu at the bottom of the screen in a WP7 application.  In a normal Silverlight page it is commented out when you add it to the project.  Simply view the XAML and uncomment it.  You will be left with a set of placeholder buttons.  Then you just need to create or borrow some round button graphics and the event handlers.  Simple, isn’t it.


So the last topic I want to touch on in this post is Isolated Storage.  This is the local file based persistence for WP7 applications.  Conceptually it is a very simple technology.  It gets treated similar to any stream based storage in .NET.

You may find that it makes life easier to use one of the isolated storage based database libraries such as RapidRepository.  This allows you to handle reads, writes and finds in a much easier way than looping through the file and doing appends at the end of the file.

Hopefully you find these topics a good starting point for your WP7 development.

Posted on Friday, April 1, 2011 2:04 AM .NET , Development , Windows Phone 7 | Back to top

Comments on this post: Beginning Windows Phone 7 Development

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Tim Murphy | Powered by: | Join free