Everything You Need to Start Writing Windows 8 Metro Applications Today

I can still remember the day I learned how to program. I was only 7 years old and was staying home with my TI-99/4A that had no games or cartridges available. Bored, I pulled out the BASIC reference guide and tapped in a small program called “Mr. Bojangles” that made some pixelated boxs move across the screen. If you squinted and really stretched your imagination, you could almost pretend it was a little dancing guy. You can even watch this video online to see, although I’d argue the source code I saw there looks way smaller than what I remember typing. From there I moved onto the Commodore 64 and picked up 6502 assembly code:

$C000: LDA #$00
$C002: STA $D020
$C005: STA $D021
$C008: INC $D020 
$C00B: INC $D021
$C00E: JMP $C008 

Then it was onto Windows machines, Win32, MFC, and beyond.

It’s amazing when you think about it to see how far Windows has come. I’ve been preparing a brief history for my Top 10 Metro Features talk (you can also see it live at CodeStock where I’ll be handing out a sample chapter from my new book). Developers who have begun writing Windows 8 Metro applications have felt some of the pain of exploring a new platform and refactoring for breaking changes as new releases have come out, but overall I think the experience is phenomenal. Contrary to the fear that was rampant when Windows 8 was initially announced, when everyone speculated that C# and XAML would be dropped completely and everything would either be HTML5 and JavaScript or C++, the platform has rich support for multiple languages (including C# and XAML) and a powerful new runtime that makes it easier to do common tasks like accessing the web cam or connecting to a web site.

When my publisher agreed to my request to write a book about designing Windows 8 Metro applications, I was ecstatic. While my earlier book, Designing Silverlight Business Applications, focused on enterprise development, this new one takes a different approach and tackles designing Metro applications from the ground up. I assume you have some C# and XAML knowledge but I’m really focused on giving you everything you need to get up and running quickly on the new platform. Believe me, there is a lot of content and it covers most of what the Windows Runtime has to offer. Here is a tentative table of contents — I say tentative because it can change based on feedback from editors and you, but it should be very close:

  • Chapter One — The New Windows Runtime — History and context around Windows 8 Metro applications
  • Chapter Two — Getting Started — setting up your environment and building a more advanced “Hello, World” application (templates, tools, and looking underneath the covers at what Windows 8 Metro is)
  • Chapter Three — XAML — a primer on Extensible Application Markup Language (XAML) and how it works in Windows 8 Metro applications
  • Chapter Four — Metro Applications — overview of what is unique about Metro applications, including layouts, views, visual state manager, simulator, view types (snapped, full), semantic zoom, user input and touch, sensors, application bars, icons, and splash screens
  • Chapter 5 — Application Lifecycle — process lifetime management (PLM) including activation, suspension, resume, navigation, and extended splash screens
  • Chapter Six — Data — everything you need to know about data, including application settings, local and romaing file access, collections, buffers, byte arrays, encryption, signing, syndication of content, and web services
  • Chapter Seven — Tiles and Toasts — basic tiles, live tiles, badges, secondary tiles, and push screen notifications
  • Chapter Eight — Charm — all about contracts, including sharing, text selection, search, printing, play to and more
  • Chapter 9 — MVVM and Testing — how MVVM is implemented in Windows 8 Metro applications and coverage of the new unit testing capabilities in Visual Studio 11
  • Chapter 10 — Packaging and Deploying — understanding trial mode, products vs. applications, side-loading and distribution

Once this first comprehensive book comes out about writing the applications, I plan to follow up with a second more advanced title that covers things like authorization and authentication with single sign-on, media, device enumeration, advanced sensors, networking including sockets, accessibility features, background tasks, lock screen applications and advanced debugging and performance optimization.

Here’s the best part — all of this is available right now. I don’t know if you are familiar with the Safari Rough Cuts program, but it essentially allows you to have early access to the manuscript. One investment in the book will give you the manuscript as it stands today (parts of it not even edited yet) so you can not only read it but provide me with direct feedback to help shape what you would like to see in the final version. Then, as the book is edited and updates are posted, you have unlimited downloads of the latest versions right up to the final release. It’s a great way to get your hands on everything you need to develop Windows 8 Metro applications with C# and XAML today, and ensure that it is current and up to date when it is released months from now. You can check out the Rough Cuts for this book by clicking on this link. Please also take some time to visit the Facebook page where I post updates about the progress for the book as well as Windows 8 related articles. You can access that page here.

Thanks!

Jeremy Likness

Work at the Speed of Ideas in Azure.

We are not short on ideas and increasingly businesses want to implement them as quickly as possible.This is putting a burden on development teams to accelerate development without sacrificing quality.

We developed a best of breed platform designed specifically for Azure to enable end-to-end automation and testing. Our service accelerates the deployment of e-commerce sites, corporate websites and portals, and mobile web applications. Customers get to improve time-to-revenue with a reliable, predictable, and repeatable delivery platform.

Consistent through stages.

We enable your teams to work in a logical and linear progression from inception to reality.

Version and release control.

The platform is designed to facilitate a continuous delivery cycle using Agile methodologies.

Accelerate time-to-market.

You will streamline all aspects from identifying problems, rolling back to known good versions, and deploying at anytime of the day.

The Problem with Release Management.

Broken links impact Search Engine Optimization (SEO) which can easily reduce traffic to a site. More importantly, broken links have a direct impact on reputation, customer confidence, and completing a transaction. Broken links are a simple example of a very visible break down in testing and proper release management processes.

This is where automation and testing can become a catalyst to business but it is not as easy as it looks:

  • The tools to improve release management are complex, multi-origin, and rapidly changing
  • Not all are platform certified for public clouds such as Azure and can be unwieldy to deploy

As a result, many cut corners – they skip automation and don’t leverage testing, sometimes forgoing it altogether.

Put an End to Release Headaches.

We built this service for companies, e-tailers, and web development agencies who demand a better solution to ensure rapid development of content and features. It is ideally suited for automating the release and testing process for a Content Management System (CMS). Users benefit from the ability to:

  • Develop new features and capabilities faster and ensure they will not break the site or application as code gets promoted:
    • a:1:{i:0;s:3:”yes”;}
  • Reduce manual quality control (QC) processes:
    • a:1:{i:0;s:3:”yes”;}
  • Evolve test coverage over time through an on-going consultative process:
    • a:1:{i:0;s:3:”yes”;}
  • Manage code promotion across distributed locations:
    • a:1:{i:0;s:3:”yes”;}

Focus on your business and deploying the next release, not the infrastructure on which your automation and testing runs. Say goodbye to errors such as broken links!

Benefit from a Platform Based on DevOps Practices.

Agile and DevOps are all the rage but is your IT really enabling them properly?

Atmosera Release Management as a Service is a foundational platform on top of which your teams can drive better agility and quality. It was built for developers to ensure a framework where both infrastructure and operation are harmonized to deliver the ability to:

  • Track every change for every version and quickly find the source of a problem within your application
Stay Informed

Sign up for the latest blogs, events, and insights.

We deliver solutions that accelerate the value of Azure.
Ready to experience the full power of Microsoft Azure?

Atmosera is thrilled to announce that we have been named GitHub AI Partner of the Year.

X