Click here to close now.

SYS-CON MEDIA Authors: Liz McMillan, Pat Romanski, Elizabeth White, Wade Williamson, Lori MacVittie

Related Topics: .NET, Java, MICROSERVICES, Linux

.NET: Book Review

Book Review: Windows 8.1 Apps with XAML and C# Unleashed

A must have for any Windows 8.1 developer of any level.

As with Nathan's book WPF 4 Unleashed books, this book is a pure pleasure to read. It is in full color, the content is laid out in an easy to read style, the author's writing style makes it easy to read, and the content is all valuable. There is no fluff like you find in a lot of the books written today.

Part I of the book starts out with an awesome chapter on the anatomy of a Windows store app and then has a great chapter introducing XAML. The book is broken down into a total of 7 parts. I have listed them below along with the chapters they contain.

Part I: Getting Started
Chapter 1. Hello, Real World!
Chapter 2. Mastering XAML

Part II: Building an App
Chapter 3. Sizing, Positioning, and Transforming Elements
Chapter 4. Layout
Chapter 5. Interactivity
Chapter 6. Handling Input: Touch, Mouse, Pen, and Keyboard

Part III: Working with the App Model
Chapter 7. App Lifecycle
Chapter 8. Threading, Windows, and Pages
Chapter 9. The Many Ways to Earn Money

Part IV: Understanding Controls
Chapter 10. Content Controls
Chapter 11. Items Controls
Chapter 12. Text
Chapter 13. Images
Chapter 14. Audio, Video, and Speech
Chapter 15. Other Controls

Part V: Leveraging the Richness of XAML
Chapter 16. Vector Graphics
Chapter 17. Animation
Chapter 18. Styles, Templates, and Visual States
Chapter 19. Data Binding

Part VI: Exploiting Windows 8.1
Chapter 20. Working with Data
Chapter 21. Supporting Charms
Chapter 22. Leveraging Contracts
Chapter 23. Reading from Sensors
Chapter 24. Controlling Devices
Chapter 25. Thinking Outside the App: Live Tiles, Notifications, and the Lock Screen

Part VII: Advanced Features
Chapter 26. Integrating DirectX
Chapter 27. Custom Controls and Components
Chapter 28. Layout with Custom Panels

In Part II there are a lot of things that are specific to Windows 8 apps that developers are going to need to learn. The book does a great job of covering all of these. The first three chapters in this section cover interactivity, sizing, positioning, transforming elements, and layout, which now can be full-screen landscape, full-screen portrait, filled, and snapped.

Chapter 6 is a very important chapter for developers that need to learn and understand touch. It covers touch, mouse, pen, and keyboard input. Developers need to understand the differences between the way pen digitizer works compared to a stylus that uses a capacitive touch screen. This chapter covers all the details that you need to know to get a firm grasp on the differences. This chapter also covers the basic Windows 8 gestures including tapped, right tapped, holding, and crossline.

Part III is a new section which took chapter 7 of the last version of the book, broke it into 3 chapters, and enhanced the material.

Chapter 7 is very important chapter in part three. This chapter covers the lifecycle of an application from launching to suspending to resuming to killing and terminating. It also covers how applications interact with the Windows store.

Chapter 8 covers the threading model for Windows Store Apps, displaying multiple windows, and navigating between pages.

Chapter 9 covers one of the topics developers are going to want to learn, which is how to support a free trial, and later how enable a full license of their application to be purchased.

Part IV is all about controls, images, audio, and video. The controls covered include Button , HyperlinkButton , RepeatButton , ToggleButton , CheckBox , RadioButton , ToolTip , AppBar, Items Panels , ComboBox , ListBox , ListView , GridView , FlipView , SemanticZoom , TextBlock , RichTextBlock , TextBox , RichEditBox, MenuFlyout, Hub, and PasswordBox. The chapter on images not only covers the Image Element but includes coverage on encoding and decoding images. The chapter on audio and video include coverage of playback, capture, and transcoding. There is a ton of material covered in part four!!!

Part V digs deep into XAML capabilities. Chapter 14 covers vector graphics which included shapes, geometries, and brushes. Chapter 15 covers animation which includes theme transitions and animations, custom animations, custom keyframe animations, easing functions, and manual animations. The title of Chapter 16 Styles, Templates, and Visual States some up exactly what that chapters about.

Part VI covers a ton of information on how your application will integrate with the Windows 8 environment. It covers where you get your data from, how to integrate with charms, and how to implement extensions. Chapter 21 covers the accelerometer, qyrometer, inclinometer, compass, light sensor, orientation, location, and proximity.

Chapter 25 covers Live Tiles, Toast Notifications, and the Lock Screen. As Windows 8 developers you are going to want to know how to use these features.

The one topic I would have liked to have seen more on in Part VI is using SQLite. I mentioned this in my review of the previous version of this book. So far all the books that I have read on Windows 8 Apps tell you that it's available, but they don't explain how to use it. The apps I am working on are going to need a robust local data cache, and App Data and User Data are not going to be able to handle it.

Part VII cover integrating with DirectX, building custom controls and components, and building custom panels for layout.

Another thing I would like to see added to the book is a chapter on MVVM. The author says this, "You won’t find examples of patterns such as Model-View-ViewModel (MVVM) in this book. I am a fan of applying such patterns to code, but I don’t want to distract from the core lessons in each chapter. Whether you’re new to XAML or a long-time XAML developer, I hope you find this book to exhibit all these attributes."

I know there is plenty of MVVM material available, but I would still like to see the author provide his view on how to use it in the context of the material presented in this book.

There really is not a chapter in this book that should be skipped. Every chapter contains a wealth of valuable information for those looking to get into Windows 8 development.

The author's writing style is very clean and easy to understand making the book an enjoyable read.

The code samples are well organized, very usable and work as downloaded. I mention the work as download because lately I have been downloads some author's code samples and the time it takes to get them to work is more than they are worth.

Over all this is an awesome book. It is a must have for any Windows 8.1 developer of any level.


Windows 8.1 Apps with XAML and C# Unleashed

Windows 8.1 Apps with XAML and C# Unleashed

More Stories By Tad Anderson

Tad Anderson has been doing Software Architecture for 18 years and Enterprise Architecture for the past few.

Latest Stories
SYS-CON Events announced today that robomq.io will exhibit at SYS-CON's @ThingsExpo, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. robomq.io is an interoperable and composable platform that connects any device to any application. It helps systems integrators and the solution providers build new and innovative products and service for industries requiring monitoring or intelligence from devices and sensors.
The 17th International Cloud Expo has announced that its Call for Papers is open. 17th International Cloud Expo, to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, APM, APIs, Microservices, Security, Big Data, Internet of Things, DevOps and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding bu...
Today, IT is not just a cost center. IT is an enabler and driver of business. With the emergence of the hybrid cloud paradigm, IT now has increasingly more capabilities to create new strategic opportunities for a business. Hybrid cloud allows an organization to utilize multi-tenant public clouds, dedicated private clouds, bare metal hosting, and the associated support and services for the right use cases through an on-demand, XaaS model. This model of IT creates tremendous opportunities for busi...
Business as usual for IT is evolving into a “Make or Buy” decision on a service-by-service conversation with input from the LOBs. How does your organization move forward with cloud? In his general session at 16th Cloud Expo, Paul Maravei, Regional Sales Manager, Hybrid Cloud and Managed Services at Cisco, discusses how Cisco and its partners offer a market-leading portfolio and ecosystem of cloud infrastructure and application services that allow you to uniquely and securely combine cloud busi...
SYS-CON Events announced today that Litmus Automation will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Litmus Automation’s vision is to provide a solution for companies that are in a rush to embrace the disruptive Internet of Things technology and leverage it for real business challenges. Litmus Automation simplifies the complexity of connected devices applications with Loop, a secure and scalable clou...
Businesses are looking to empower employees and departments to do more, go faster, and streamline their processes. For all workers – but mobile workers especially – utilizing the cloud to reconnect documents and improve processes without destructing existing workflows can have a dramatic impact on productivity. In his session at 16th Cloud Expo, Mark Grilli, vice president of Acrobat Solutions marketing at Adobe Systems Incorporated, will outline new ways that the cloud is changing the way peo...
With the arrival of the Big Data revolution, a data professional is expected to master a broad spectrum of complex domains including data processing, mathematics, programming languages, machine learning techniques, and business knowledge. While this mastery is undoubtedly important, this narrow focus on tool usage has divorced many from the imagination required to solve real-world problems. As the demand for analysis increases, the data science community must transform from tool experts to "data...
As Marc Andreessen says software is eating the world. Everything is rapidly moving toward being software-defined – from our phones and cars through our washing machines to the datacenter. However, there are larger challenges when implementing software defined on a larger scale - when building software defined infrastructure. In his session at 16th Cloud Expo, Boyan Ivanov, CEO of StorPool, will provide some practical insights on what, how and why when implementing "software-defined" in the dat...
While not quite mainstream yet, WebRTC is starting to gain ground with Carriers, Enterprises and Independent Software Vendors (ISV’s) alike. WebRTC makes it easy for developers to add audio and video communications into their applications by using Web browsers as their platform. But like any market, every customer engagement has unique requirements, as well as constraints. And of course, one size does not fit all. In her session at WebRTC Summit, Dr. Natasha Tamaskar, Vice President, Head of C...
SYS-CON Events announced today that Emcien will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Emcien’s vision is to let anyone use data to know the future. Emcien has built an automated, predictive analysis product that improves the lives of real people. Emcien allows people to automate their data analysis so they can build a better future.
SYS-CON Events announced today that Solgenia will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY, and the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Solgenia is the global market leader in Cloud Collaboration and Cloud Infrastructure software solutions. Designed to “Bridge the Gap” between Personal and Professional S...
WSM International has launched a DevOps services division that offers assessment, consulting and implementation to large enterprises and organizations with complex infrastructures. The concept of DevOps is to blend information technology (IT) software development with operations to optimize the computing infrastructure according to the specific needs of the organization. According to a recent press release from Gartner, "By 2016, DevOps will evolve from a niche strategy employed by large cloud ...
SYS-CON Events announced today that QTS Realty Trust, one of the nation’s largest and fastest-growing providers of data center facilities and cloud services and a leader in security and compliance, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. QTS Realty Trust, Inc. (NYSE: QTS) is a leading national provider of data center solutions and fully managed services, and a leader in security and compliance...
SYS-CON Events announced today that WSM International (WSM), the world’s leading cloud and server migration services provider, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. WSM is a solutions integrator with a core focus on cloud and server migration, transformation and DevOps services.
SYS-CON Events announced today that MangoApps will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY., and the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. MangoApps provides private all-in-one social intranets allowing workers to securely collaborate from anywhere in the world and from any device. Social, mobile, and eas...