A Step-by-Step Guide to Building and Deploying A Windows Phone 7 Application to Marketplace

Do you want to know how to develop a Windows Phone 7 Silverlight application from scratch and submit it to the Marketplace via the new Microsoft App Hub?

My new article of DZone shows you just that with an application (that is live on marketplace for free) and demonstrates a few patterns/elements such as: MVVM, MVVM Light, Phone styles, Grid layout…

20101026 dzone

 

screenshot01

Enjoy Smile

Microsoft MVP Award for Silverlight

 

 

 

 

On Oct 1 2010, the award of Microsoft MVP was bestowed upon me, for "exceptional contributions to technical communities worldwide" by the Silverlight team.

I would have mentioned it sooner but for the facts that (1) you don’t easily get an award without being busy and (2) I had to wait for permission to use the award logo.

The MVP award process (which involved signing an NDA, signing up for benefits, agreeing to logo usage terms, getting access to the MVP site, receiving a physical package, being invited to the annual MVP summit and having access to product teams) is a well-oiled machine.  Naturally the terms of the NDA prevent me from saying anything I learn that is not legitimately public, but of course I will be blogging merrily about those things when they are officially announced.

About that physical package – it included an actual physical award (heavy and made of glass), a pin, a card and a certificate…

20101013 - award

That "2010" is a separate pieces that slides on.  It will take a few years to fill up the side of the award – another goal Smile

20101013 - cert

 

I’d like to thank the Microsoft Canada’s DPE (Developer & Platform Evangelism) team and Simran Chaudhry for their relentless support in nominating me.

Hello, Windows Phone 7!

A new mobile developer web magazine launches today.

From the press release:

Mobile Developer Magazine Launches

CALGARY, Alberta, October 1 — Mobile Developer Magazine (MDM) is a new industry publication by mobile developers, for mobile developers, and is now online at http://www.mobiledevmag.com.

Mobile applications and architectures are evolving at an incredible speed; in order to grow with direction and success we must collaborate our knowledge. Developers shape the future of technology, and through MDM, seasoned coders to CEOs, and nearly everyone in between involved in the mobile developing world has come together.

Yours truly has a featured article in issue #1.

Want to know more about Windows Phone 7 and see how easy it is to build a application?  Check out the article.

Enjoy!

20101001 mdm

Get extra WP7 controls with the Silverlight Toolkit for Windows Phone 7

Today saw the RTW/RTM of the Windows Phone 7 developer tools – you can check out the highlights.

In addition, Microsoft Silverlight toolkit team has also added a Silverlight Toolkit for Windows Phone 7 on codeplex.

Check out the details at Tim Heuer’s blog.

You’ll get these controls along with their code and samples on how to use them…

ToggleSwitch

image

 

Content Menu (which zooms the the rest of the screen back a little and support ICommand !!)

image

 

Date/Time Picker

image

image

Wrap Panel

image

 

Gesture Helper (that you simply embed inside other XAML elements and write event handlers for)

image

Highlights of What’s new in the Windows Phone 7 Developer Tools RTM/RTW

It’s a big day for Microsoft and I’ve had a great ride to this point.

The RTM of the Windows Phone 7 Developer Tools have now been released.

See the update MSDN documentation.

Get the toolsBe sure to correctly uninstall previously installed versions of the tools (see the release notes) before installing.

Read the release notes.

Let’s take a look at the highlights of what’s new in RTM of the WP7 Developer Tools, largely from a Silverlight application development point of view.

Panorama Control

There have been a few 3rd party open source goes at a Panorama Control (and no-one can blame them for getting a little impatient – it’s like the Office ribbon), but now there’s an official one (which was explain recently in a blog entry by Jeff Wilcox).  You can include one by starting with the new dedicate Visual Studio template (under File->New Project), use the one in the toolbox, or add it via XAML.  See the documentation.  Use it to get UI like this:

Ff941104.83abaa3d-63cc-4424-b8ff-3c5ceca759c4(en-us,VS.92).jpg

Pivot Control

The new official Pivot control is just as easy to use.  See the documentation to produce things like this:

image

 

Bing Maps Silverlight Control for Windows Phone

While the previously available control worked on the phone, it was not optimized for the phone.  This new version rocks!  Check out the docs.  You’ll also want to get yourself a developer key.

Ff941093.10d7071a-c8bf-4a96-85d0-651438c449a6(en-us,VS.92).jpg

Other changes:

The tools and emulator have performance improvements.  Check out Microsoft’s paper on creating high performing Silverlight apps.

The documentation has been updated.

Be sure to read the release notes.

What’s missing to round out the platform? 

I’ll do another post on this topic soon.

A Big Day for Windows Phone 7

It’s a big day today for Microsoft with the RTM of the Windows Phone 7 developer tools – potentially the last kick at the can for raising a successful mobile platform, at least amongst the current market competitors.

Update: The tools are not available – get the highlights.  A CodePlex-hosted toolkit of additional controls is also available.

There has been a lot of buzz and packed-out WP7 events, but success will likely – rightly or wrongly -  be measured publically in terms of how many phones are sold, how many applications are published and how many applications are bought; and all against what iPhone has achieved.

Microsoft has a lot of money to spend on this launch, though my sense is that the spend will occur closer to device launch (late Oct/early Nov) and during H1 2011.  The compressed catch-up timescale has created the sense of a developer-device shortage. 

Microsoft’s OS development track has been very short, and there would not normally be an abundance of devices at this stage.  The problem is that the absolute timing is very close to the festive season and Microsoft has been rallying developers since February this year, creating an expectation of device access.  Also, one cannot discount the ‘have-to-hold-one’ feeling that people have, though my experience having one in hand to show people is that they are not that quick to have a go. 

The WP7 emulator (available for some time!) is an amazing thing (more adept than Virtual PC in some ways) and is likely sufficient for 90% of Silverlight applications and some XNA games (single-touch).  The emulator’s usefulness wanes when developing applications with multi-touch input unless the developer has a multi-touch display.  Also, anything with high performance animation or intense XNA games requires a real device to get a true sense of real-world performance. 

I’ll sum up device timing issues by saying, that if you are willing to invest in a application development track at the same speed that Microsoft is going (which is a new standard for Microsoft), then they’ll likely work with you to get you what you need to publish on time.

If you haven’t been involved with the WP7 euphoria yet, then you may easily fall into it.  The way I see it, most people out there are well on their way to being 100% WP7 developers and I now tend to break it down like this:

  • 25% if you are a .NET developer already
  • 25% if you are a Silverlight/WPF developer
  • 25% if you develop web services
  • 25% left over that is unique to the phone

There’s quite a lot in that last 25% and you’ll need to get up to speed on two major pieces to really work well on the platform:

  • Application Life Cycle – your application will fail miserably in the user’s eyes if you don’t support the necessary events
  • Push Notification Services – to keep data updated and get events from elsewhere you need to understand the mechanisms

Of course, having already training dozen of developers in the first professional WP7 boot camp across North America, I’m available for children’s birthday parties private training (which are the same thing once you’ve seen super hero training at a birthday party Smile) – see the about page – if your company needs to get up to speed quickly.

The developer tools are FREE – go and get them when they are released later today at http://developer.windowsphone.com.

In-Depth Developer Training, Samples, Marketplace Assistance, Promotion, Device Face-Time & Loaner Device Access for Windows Phone 7

Windows Phone 7 devices are coming to market this Oct/Nov in several markets.

Time is running out to get in on the launch and test device access is vital for some applications.

Get these benefits from the Windows Phone 7 Boot Camp that I’m running, sponsored by Microsoft at their Canadian offices:

  • 2 solid workshop days to rapidly build your WP7 Developer knowledge and beyond – covering major topics in depth, samples, exercises and expertise in Microsoft technologies
  • 50!! Demos/Examples
  • Priority invite to Microsoft Canada’s deployment clinics to test your application(s) on a real device unless you have a relationship with Microsoft, this may be your only opportunity before retail device availability!!!
  • FREE go-to-marketplace support from Microsoft to get your application into the marketplace and potential promotion – you’ll be connected with a Microsoft evangelist to help you with getting your application(s) into the marketplace with potential for application promotional
  • Information, 40+ samples & exercises to walk away with

Due to a shortage with devices, Microsoft Canada has withdrawn the loaner program (substituting the deployment clinics) and a device cannot be present in all bootcamp cities.

There are many free resources on the web, but none offer these benefits along with interactive learning.

Want More?  How about, all this for less?  Use the promo code WP7BOOTCAMP to get $100 off.

Register today.

Get Ahead With In-Depth Developer Training & Early Device Access for Windows Phone 7

The current Windows Phone 7 rumour-mill currently has:

  • Sept 2010Oct 2010 Confirmed by Microsoft – Mobile Marketplace opens for Windows Phone 7 application submissions
  • Sep 16th 2010 Confirmed by Microsoft – Tools RTM
  • Oct 2010 – Windows Phone 7 devices retail in Europe
  • Nov 2010 – Windows Phone 7 devices retail in North America

Are you ready to ride this huge opportunity?

To be at the front of the line you’ll need these key things:

  • WP7 Developer Knowledge and beyond

    The developer tools for basic WP7 application are free and easy to start with.  That’s a great story for your fart application, but not for building fully cloud-integrated applications where you have to build cloud services and/or understand the cloud space, especially if you want to use notification services.  You’ll need in-depth knowledge for this and expertise extending all the way to developing for 3-screen & the cloud in some cases.  Plus, do you really have weeks to spend researching all this stuff?

  • Access to Windows Phone 7 devices to test your application(s)

    The developer tools for WP7 include an emulator which provides a great experience, far more useful that its predecessor for Windows Mobile 6.x, and even more graphically powerful that Virtual PC since it integrates with the host’s graphical hardware acceleration and multi-touch (if available).

    However, the tools will not allow you to get a good sense of performance, test under real network conditions, or get real data from built-in devices like the accelerometer, GPS, compass, and multi-touch (this last one would require a multi-touch capable developer machine).  If you are building a game (with XNA) for WP7, you definitely want to get your hands on some real hardware.

    Do you have access to a device before retail availability?

  • Assistance with getting your application into the marketplace and potential promotion

You can get help with these things by attending the Windows Phone 7 Boot Camp that I’m running Smile

Boot Camp participants get:

2 solid in-depth workshop days covering major topics in depth, samples, exercises and expertise in Microsoft technologies at Microsoft offices – see agenda below

50+ Demos/examples

40+ Samples

Priority invite to Microsoft Canada’s deployment clinics, for invaluable application testing on a real device.  Unless you have a relationship with Microsoft, this may be your only opportunity before retail device availability!!!

FREE go-to-marketplace support from Microsoft – you’ll be connected with a Microsoft evangelist to help you with getting your application(s) into the marketplace with potential for promotional assistance

Due to a shortage with devices, Microsoft Canada has withdrawn the loaner program (substituting the deployment clinics) and a device cannot be present in all bootcamp cities.

Want More?  How about, all this for less?  Use the promo code WP7BOOTCAMP to get $100 off.

 

A whole new market is approaching…  Register today.

If the package, location, timing or content does not suit you and/or you want a tailored training experience, go ahead and contact me.

Current Agenda

Day 1 Day 2

Getting Started

Tools

Hardware

Emulator

Architecture

Application Types

Services

 

Visual Basics

XAML

Controls

Layout

Drawing, Brushes, Styles, Resources, Media

 

Applications

Stack

Model

Projects

Navigation

Threading

 

Builds & Deployment

Debug

XAP Files

Deployment

Localisation

Porting, Compatibility & Re-use

 

Application Layouts

Orientation

Transforms

Hubs, Panorama & Pivot

 

Data Binding

Essentials, Hierarchies, Lists

Converters

LINQ

 

Data Services

Service Proxy

WebClient

HttpWebRequest

OData

Design

Guide

Theming

Blend

MVVM

Control Templates

 

Platform Integration

Launchers

Choosers

Application Bar

Settings

 

Device I/O

SIP

Touch

Accelerometer

Location Services

Network

Maps

 

Storage

Isolated Storage

Perst

Cloud

Syncing

 

Application Lifecycle

In-depth

 

Notification Services

In-depth

 

Performance

 

Web Integration

Browser Control

Integration

 

XNA

Basics

 

Marketplace

Registration

Requirements

Process

Live Meeting Presentation Today on Windows Phone 7 + OData + Silverlight + Azure

image

I’m doing a 1.5 hour Live Meeting presentation today at 16:00 ET on these hot topics for the Windows Azure User Group

The audience objectives include:

  • Learn key features of Silverlight, OData & the Windows Azure Platform
  • Learn about preparing an application for use with Windows Azure & SQL Azure
  • Learn stages and ways to deploy a full application to the Windows Azure Platform
  • Learn how Silverlight can interact with Windows Azure Platform technologies.

Register for this hot-topic event and participate remotely.

https://www.clicktoattend.com/invitation.aspx?code=147804

If you are looking for in-depth rapid training on developing for Windows Phone 7 development AND hands-on time with a device, then you should consider registering for the this major 2-day boot camp running across Canada.

Windows Phone 7 Boot Camp