Welcome!

Apache Authors: Trevor Parsons, Dmitriy Stepanov, Yeshim Deniz, Pat Romanski, Lacey Thoms

Related Topics: .NET, Silverlight, Apache

.NET: Blog Post

The Road to Windows 8 Development Success

Key Tenets and Skills

Did you spend the weekend getting to know your Surface – like many of those who lined up at Microsoft Stores across the country?

And now you’re considering getting your own application into the Windows Store, but not sure where to begin?

Well, we all started somewhere, and although I’m far from laying claim to a Windows 8 app with thousands of downloads, over the past few months of working with developers as well as on my own, I’ve settled on my own shortlist of things to know about Windows 8 development that are I feel are keys to future success.

Read the store certification requirements, then read them again.

For your application to be in the Windows Store, it must pass certification which comprises a set of security, technical, and content compliance tests. Simply leaving a debug statement in your code or forgetting to provide a privacy policy for your application can result in rejection. Before you submit your app you’ll definitely want to make sure it passes the Windows Application Certification Kit on your own device. Take a look as well at Resolving certification errors to avoid common issues and the resulting delay in getting your application on the market.

User experience matters.

Windows Store applications are different. They look different and act differently from what many of us have previously built on the Windows platform – whether it be Windows Forms, WPF, Silverlight or ASP.NET. It’s not just a matter of translating user interface elements or applying a new theme or skin. Successful Windows 8 applications will embrace the modern Windows application design, which have been influenced by movements like the Swiss Style and Bauhaus. Take time to embrace the Windows 8 design principles, and eschew skeumorphism!.

When it comes to crafting that user experience, there are many different avenues available: XAML (with Visual Basic, C#, and C++), DirectX with C++, and CSS with HTML5 and JavaScript. The more adept you are with those rendering technologies, the more compelling your app will be. In that journey, you’ll likely find yourself gravitating more and more to the incredible functionality of Blend for Visual Studio.

For building games, even more options abound, including multiple JavaScript libraries like ImpactJS and EaselJS and offerings like GameSalad and Construct 2. Full-featured game engines like Unreal Engine 3 and Unity have also announced support for Windows 8.

Embrace the MVVM pattern.

Windows 8 applications typically consist of just a few (or perhaps even just one) page, with controls and data-binding governing much of the experience. The Model-View-ViewModel design pattern (which is a close cousin of Presentation Model, Model-View-Presenter and Model-View-Controller) has quickly become the de facto model for XAML based application development, whether it be Silverlight, WPF, or Windows 8. For HTML5/JS applications, data-binding is also a key facet; however, since two-way binding is not explicitly supported, there can be a bit more work involved when using MVVM.

You’ll find there’s even a DefaultViewModel property for many of the XAML-based Windows 8 project templates to steer you toward this goal.  There are also some excellent blog posts from various authors on the topic, and the MVVM Light Toolkit (from Laurent Bugnion) is a common starting point.

Windows Store applications are mobile applications.

If you’ve built applications for Windows Phone or even iOS or Android, you will be familiar with a focus on providing a consistent, responsive user experience. To guarantee that level of experience regardless of the what is currently running on that device, applications are necessarily constrained. They run within a sandbox with limited access outside of that sandbox (unless authorized by the user), and they have a very distinct lifecycle controlled by the user and the operating system more so than by the developer.

Successful applications built for Windows 8 will be mindful of battery life, provide both a connected and a disconnected experience, work well on low-power devices, and mold the experience to the characteristics of the device on which they are executing thus becoming authentically digital.

Understand the application lifecycle.

Every Windows 8 Store application is bound by the same lifecycle, and it’s incumbent on the developer to understand when state transitions occur and what actions should be taken as a result.

For instance, an application can be activated by clicking on its live tile of course, but it may also be activated through a search or by another application via protocol activation. And as soon that other application is brought into view, the current application is suspended. It’s then up to the developer to save any application state, since a suspended application could be completely terminated by the operating system – with no further notification - should there be memory or battery life pressure.

State diagram showing transitions between app execution states

Asynchrony is the norm.

Windows 8 applications are often characterized in marketing-speak as fast and fluid. The consistency of performance in reaction to user input is a key part of the experience and enforced by strict timing requirements. For instance, applications much launch within five seconds or less and must suspend in two seconds or less.

In fact, any operation that takes more than 200 ms is a prime candidate for an asynchronous implementation, one that does not require the UI to stop and wait for it to complete. This is baked into Windows RT as well since most file and network operations are available only as asynchronous methods.

Luckily asynchronous processing has become that much easier in .NET 4.5, and Visual Basic and C# developers can leverage the async/await pattern, allowing them to code in a synchronous style but with asynchronous methods. JavaScript developers can use promises that similarly abstract the complexities of asynchronous programming. And if you’re a C++ developer, then you’ll be using the task class that’s part of the Concurrency Runtime,

Notifications can be a key application differentiator.

Notifications are a fantastic feature of the Windows 8 platform, one that can take your application from meh to wow. A built-in notification engine can serve up tile, toast, and badge updates to your application even when the application isn’t running - thus expanding its presence and impact in the eyes of your users.

Live tile updatesTile notifications provide the glance-and-go experience that differentiates the Windows 8 Start Screen. Live tiles are the only persistent visual presence of your application on the user’s device, and they are “live” solely because of notifications, providing updates to your application and enticing the user to run your app again and again.

Toast notifications are more personalized and immediate, informing the user of something of specific interest that’s actionable right at that time. Used appropriately they can provide a compelling, just-in-time experience and be part of an application the user just can’t do with out.

Lastly, badges are essentially an extension of the tile, providing a quick indication of the state of an application, like whether a video has been paused or how many unread e-mails are in your in-box.

Leverage contracts and extensions to broaden your application’s presence.

The sandbox model of a Windows Store application at first seems incredibly constraining – you can’t write to the file system, can’t read from the registry, can’t even detect what version of Windows is currently running! If you step back and view things from an end-user perspective though, you’ll realize that many of those capabilities serve the developer and not the user. In Windows 8 the user is in charge, and a consistent experience is paramount.

In some ways it’s liberating and democratizing for developers, there are defined rules – contracts, if you will – that every application has access to and no application can circumvent.

  • Want to save a file to C:\ directly? Your application can, but the user must approve that action through the file picker.
  • Want to have your application automatically handle a certain type of file? You can, but via file activation, and even then the user gets to pick which application she wants to response to that request (from among installed applications than can handle that file type).
  • Want to search across data managed by other applications? You can - via the search contract.

It’s through these contracts and extensions that your users’ experience can extend beyond the boundaries of your own application and your application can reach new users through discovery mechanisms built-in to the Windows 8 runtime.

The Cloud is a unifier.

Does anyone have only one internet connected device in this day and age? We have smartphones, laptops, desktops, game consoles, etc., many of which run similar or companion applications, and increasingly we expect our experiences to transcend the device. We watch a movie on our slate or phone during the commute on the train and expect to finish that movie at home on our Xbox. We increasingly rely on apps like OneNote and Evernote to make our to-do list available wherever we happen to be at the time.

Underlying the connected experiences is the cloud, and within Windows 8 it’s not a bolted-on experience. SkyDrive is a first class citizen, your social media presence on Twitter, Facebook, LinkedIn, Google are linked in the People app, and developers can make use of roaming storage which automatically handles the synchronization of application data across Windows 8 devices linked to a given user’s Microsoft account.

Windows Azure - try free for 90 daysStepping it up a notch, Windows 8 applications can easily tie into Windows Azure Mobile Services for common application needs like simple structured data storage, authentication across identity providers like Facebook and Twitter, and to provide the plumbing for push notifications. Of course you don’t have to stop there, Windows Azure has numerous other services that you can easily tap into to increase the impact, reach, and agility of your application.

Your profits are in your hands.

Having your application in the Windows Store is a tremendous opportunity, with over 670 millions upgradeable licenses of Windows 7 in the wild now and an estimated 300 million units of Windows 8 shipping in 2013, so take some time to decide how to monetize your application, as there are several options you can use alone or in combination.

  • You can simply charge for your application (anywhere from $1.49 to $999.99), where each download is a purchase and you retain 70% of the proceeds (or 80% once you’ve reached the $25,000 mark). Optionally, you can opt to enable a time-limited or feature-limited trial as part of your application, which can significantly increase your purchase rate over an application without such an option.
  • You might decide not to charge for the app at all and make your money from ads presented within your application via the Microsoft Advertising SDK or a third-party ad provider. By the way, according to a 2011 Gartner report, mobile advertising revenue is slated to reach $20.6 billion 2015, up from $3.3 billion in 2011.
  • Increasingly, applications are turning to in-app purchases as a primary monetization technique either using the built-in Windows.ApplicationModel.Store namespace or a third-party commerce provider. As food for thought, in July 2011 Distimo noted that although only 4% of all iPhone applications leveraged in-app purchases, those purchases accounted for 72% of all application revenue, a 150% increase over the prior year. That same report also showed that free downloads of applications exceeded those of paid applications by a factor of five.

Before settling on your approach, do take time to review other apps in your category and the monetization trends for those applications. Different types of applications engender different expectations on the part of end users. For example, statistics from the Windows Phone store indicate that consumers are more likely to pay for games than for any other category of applications, by a factor of six.

In conclusion, I wish you good luck on your Windows 8 development journey, and I welcome your thoughts, stories, and feedback!

More Stories By Jim O'Neil

Jim is a Technology Evangelist for Microsoft who covers the Northeast District, namely, New England and upstate New York. He is focused on engaging with the development community in the area through user groups, code camps, BarCamps, Microsoft-sponsored events, etc., and just in general serve as ambassador for Microsoft. Since 2009, Jim has been focusing on software development scenarios using cloud computing and Windows Azure. You can follow Jim on Twitter at @jimoneil

@ThingsExpo Stories
Noted IoT expert and researcher Joseph di Paolantonio (pictured below) has joined the @ThingsExpo faculty. Joseph, who describes himself as an “Independent Thinker” from DataArchon, will speak on the topic of “Smart Grids & Managing Big Utilities.” Over his career, Joseph di Paolantonio has worked in the energy, renewables, aerospace, telecommunications, and information technology industries. His expertise is in data analysis, system engineering, Bayesian statistics, data warehouses, business intelligence, data mining, predictive methods, and very large databases (VLDB). Prior to DataArchon, he served as a VP and Principal Analyst with Constellation Group. He is a member of the Boulder (Colo.) Brain Trust, an organization with a mission “to benefit the Business Intelligence and data management industry by providing pro bono exchange of information between vendors and independent analysts on new trends and technologies and to provide vendors with constructive feedback on their of...
All major researchers estimate there will be tens of billions devices – computers, smartphones, tablets, and sensors – connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades. With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo in Silicon Valley. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be!
Software AG helps organizations transform into Digital Enterprises, so they can differentiate from competitors and better engage customers, partners and employees. Using the Software AG Suite, companies can close the gap between business and IT to create digital systems of differentiation that drive front-line agility. We offer four on-ramps to the Digital Enterprise: alignment through collaborative process analysis; transformation through portfolio management; agility through process automation and integration; and visibility through intelligent business operations and big data.
There will be 50 billion Internet connected devices by 2020. Today, every manufacturer has a propriety protocol and an app. How do we securely integrate these "things" into our lives and businesses in a way that we can easily control and manage? Even better, how do we integrate these "things" so that they control and manage each other so our lives become more convenient or our businesses become more profitable and/or safe? We have heard that the best interface is no interface. In his session at Internet of @ThingsExpo, Chris Matthieu, Co-Founder & CTO at Octoblu, Inc., will discuss how these devices generate enough data to learn our behaviors and simplify/improve our lives. What if we could connect everything to everything? I'm not only talking about connecting things to things but also systems, cloud services, and people. Add in a little machine learning and artificial intelligence and now we have something interesting...
Last week, while in San Francisco, I used the Uber app and service four times. All four experiences were great, although one of the drivers stopped for 30 seconds and then left as I was walking up to the car. He must have realized I was a blogger. None the less, the next car was just a minute away and I suffered no pain. In this article, my colleague, Ved Sen, Global Head, Advisory Services Social, Mobile and Sensors at Cognizant shares his experiences and insights.
We are reaching the end of the beginning with WebRTC and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will want to use their existing identities, but these will have credentials already that are (hopefully) irreversibly encoded. In his session at Internet of @ThingsExpo, Peter Dunkley, Technical Director at Acision, will look at how this identity problem can be solved and discuss ways to use existing web identities for real-time communication.
Can call centers hang up the phones for good? Intuitive Solutions did. WebRTC enabled this contact center provider to eliminate antiquated telephony and desktop phone infrastructure with a pure web-based solution, allowing them to expand beyond brick-and-mortar confines to a home-based agent model. It also ensured scalability and better service for customers, including MUY! Companies, one of the country's largest franchise restaurant companies with 232 Pizza Hut locations. This is one example of WebRTC adoption today, but the potential is limitless when powered by IoT. Attendees will learn real-world benefits of WebRTC and explore future possibilities, as WebRTC and IoT intersect to improve customer service.
From telemedicine to smart cars, digital homes and industrial monitoring, the explosive growth of IoT has created exciting new business opportunities for real time calls and messaging. In his session at Internet of @ThingsExpo, Ivelin Ivanov, CEO and Co-Founder of Telestax, will share some of the new revenue sources that IoT created for Restcomm – the open source telephony platform from Telestax. Ivelin Ivanov is a technology entrepreneur who founded Mobicents, an Open Source VoIP Platform, to help create, deploy, and manage applications integrating voice, video and data. He is the co-founder of TeleStax, an Open Source Cloud Communications company that helps the shift from legacy IN/SS7 telco networks to IP-based cloud comms. An early investor in multiple start-ups, he still finds time to code for his companies and contribute to open source projects.
The Internet of Things (IoT) promises to create new business models as significant as those that were inspired by the Internet and the smartphone 20 and 10 years ago. What business, social and practical implications will this phenomenon bring? That's the subject of "Monetizing the Internet of Things: Perspectives from the Front Lines," an e-book released today and available free of charge from Aria Systems, the leading innovator in recurring revenue management.
The Internet of Things will put IT to its ultimate test by creating infinite new opportunities to digitize products and services, generate and analyze new data to improve customer satisfaction, and discover new ways to gain a competitive advantage across nearly every industry. In order to help corporate business units to capitalize on the rapidly evolving IoT opportunities, IT must stand up to a new set of challenges.
There’s Big Data, then there’s really Big Data from the Internet of Things. IoT is evolving to include many data possibilities like new types of event, log and network data. The volumes are enormous, generating tens of billions of logs per day, which raise data challenges. Early IoT deployments are relying heavily on both the cloud and managed service providers to navigate these challenges. In her session at 6th Big Data Expo®, Hannah Smalltree, Director at Treasure Data, to discuss how IoT, Big Data and deployments are processing massive data volumes from wearables, utilities and other machines.
P2P RTC will impact the landscape of communications, shifting from traditional telephony style communications models to OTT (Over-The-Top) cloud assisted & PaaS (Platform as a Service) communication services. The P2P shift will impact many areas of our lives, from mobile communication, human interactive web services, RTC and telephony infrastructure, user federation, security and privacy implications, business costs, and scalability. In his session at Internet of @ThingsExpo, Erik Lagerway, Co-founder of Hookflash, will walk through the shifting landscape of traditional telephone and voice services to the modern P2P RTC era of OTT cloud assisted services.
While great strides have been made relative to the video aspects of remote collaboration, audio technology has basically stagnated. Typically all audio is mixed to a single monaural stream and emanates from a single point, such as a speakerphone or a speaker associated with a video monitor. This leads to confusion and lack of understanding among participants especially regarding who is actually speaking. Spatial teleconferencing introduces the concept of acoustic spatial separation between conference participants in three dimensional space. This has been shown to significantly improve comprehension and conference efficiency.
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, will discuss single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example to explain some of these concepts including when to use different storage models.
SYS-CON Events announced today that Gridstore™, the leader in software-defined storage (SDS) purpose-built for Windows Servers and Hyper-V, will exhibit at SYS-CON's 15th International Cloud Expo®, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Gridstore™ is the leader in software-defined storage purpose built for virtualization that is designed to accelerate applications in virtualized environments. Using its patented Server-Side Virtual Controller™ Technology (SVCT) to eliminate the I/O blender effect and accelerate applications Gridstore delivers vmOptimized™ Storage that self-optimizes to each application or VM across both virtual and physical environments. Leveraging a grid architecture, Gridstore delivers the first end-to-end storage QoS to ensure the most important App or VM performance is never compromised. The storage grid, that uses Gridstore’s performance optimized nodes or capacity optimized nodes, starts with as few a...
The Transparent Cloud-computing Consortium (abbreviation: T-Cloud Consortium) will conduct research activities into changes in the computing model as a result of collaboration between "device" and "cloud" and the creation of new value and markets through organic data processing High speed and high quality networks, and dramatic improvements in computer processing capabilities, have greatly changed the nature of applications and made the storing and processing of data on the network commonplace. These technological reforms have not only changed computers and smartphones, but are also changing the data processing model for all information devices. In particular, in the area known as M2M (Machine-To-Machine), there are great expectations that information with a new type of value can be produced using a variety of devices and sensors saving/sharing data via the network and through large-scale cloud-type data processing. This consortium believes that attaching a huge number of devic...
Innodisk is a service-driven provider of industrial embedded flash and DRAM storage products and technologies, with a focus on the enterprise, industrial, aerospace, and defense industries. Innodisk is dedicated to serving their customers and business partners. Quality is vitally important when it comes to industrial embedded flash and DRAM storage products. That’s why Innodisk manufactures all of their products in their own purpose-built memory production facility. In fact, they designed and built their production center to maximize manufacturing efficiency and guarantee the highest quality of our products.
All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades. Over the summer Gartner released its much anticipated annual Hype Cycle report and the big news is that Internet of Things has now replaced Big Data as the most hyped technology. Indeed, we're hearing more and more about this fascinating new technological paradigm. Every other IT news item seems to be about IoT and its implications on the future of digital business.
Can call centers hang up the phones for good? Intuitive Solutions did. WebRTC enabled this contact center provider to eliminate antiquated telephony and desktop phone infrastructure with a pure web-based solution, allowing them to expand beyond brick-and-mortar confines to a home-based agent model. Download Slide Deck: ▸ Here
BSQUARE is a global leader of embedded software solutions. We enable smart connected systems at the device level and beyond that millions use every day and provide actionable data solutions for the growing Internet of Things (IoT) market. We empower our world-class customers with our products, services and solutions to achieve innovation and success. For more information, visit www.bsquare.com.