Welcome!

Linux Authors: Trevor Parsons, Bob Gourley, Carmen Gonzalez, Liz McMillan, Anne Buff

Related Topics: .NET, Java, SOA & WOA, 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.

@ThingsExpo Stories
SYS-CON Events announced today that AgilePoint, the leading provider of Microsoft-centric Business Process Management software, will exhibit at SYS-CON's 2nd International @ThingsExpo which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. AgilePoint is the leading provider of Microsoft-based Business Process Management (BPM) software products, has 1,300+ on-premise and cloud deployments in 25+ countries and provides the same advanced BPM feature set as J2EE vendors like IBM and Appian for the Microsoft .NET native environment. AgilePoint customer...
Samsung VP Jacopo Lenzi, who headed the company's recent SmartThings acquisition under the auspices of Samsung's Open Innovaction Center (OIC), answered a few questions we had about the deal. This interview was in conjunction with our interview with SmartThings CEO Alex Hawkinson. IoT Journal: SmartThings was developed in an open, standards-agnostic platform, and will now be part of Samsung's Open Innovation Center. Can you elaborate on your commitment to keep the platform open? Jacopo Lenzi: Samsung recognizes that true, accelerated innovation cannot be driven from one source, but requires a...
The Internet of Things will greatly expand the opportunities for data collection and new business models driven off of that data. In her session at Internet of @ThingsExpo, Esmeralda Swartz, CMO of MetraTech, will discuss how for this to be effective you not only need to have infrastructure and operational models capable of utilizing this new phenomenon, but increasingly service providers will need to convince a skeptical public to participate. Get ready to show them the money! Speaker Bio: Esmeralda Swartz, CMO of MetraTech, has spent 16 years as a marketing, product management, and busin...
SYS-CON Events announced today that TeleStax, the main sponsor of Mobicents, will exhibit at Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. TeleStax provides Open Source Communications software and services that facilitate the shift from legacy SS7 based IN networks to IP based LTE and IMS networks hosted on private (on-premise), hybrid or public clouds. TeleStax products include Restcomm, JSLEE, SMSC Gateway, USSD Gateway, SS7 Resource Adaptors, SIP Servlets, Rich Multimedia Services, Presence Services/RCS, Diame...
Things are being built upon cloud foundations to transform organizations. This CEO Power Panel at 15th Cloud Expo, moderated by Roger Strukhoff, Cloud Expo and @ThingsExpo conference chair, will address the big issues involving these technologies and, more important, the results they will achieve. How important are public, private, and hybrid cloud to the enterprise? How does one define Big Data? And how is the IoT tying all this together?
We certainly live in interesting technological times. And no more interesting than the current competing IoT standards for connectivity. Various standards bodies, approaches, and ecosystems are vying for mindshare and positioning for a competitive edge. It is clear that when the dust settles, we will have new protocols, evolved protocols, that will change the way we interact with devices and infrastructure. We will also have evolved web protocols, like HTTP/2, that will be changing the very core of our infrastructures. At the same time, we have old approaches made new again like micro-services...
The only place to be June 9-11 is Cloud Expo & @ThingsExpo 2015 East at the Javits Center in New York City. Join us there as delegates from all over the world come to listen to and engage with speakers & sponsors from the leading Cloud Computing, IoT & Big Data companies. Cloud Expo & @ThingsExpo are the leading events covering the booming market of Cloud Computing, IoT & Big Data for the enterprise. Speakers from all over the world will be hand-picked for their ability to explore the economic strategies that utility/cloud computing provides. Whether public, private, or in a hybrid form, clo...
SYS-CON Events announces a new pavilion on the Cloud Expo floor where WebRTC converges with the Internet of Things. Pavilion will showcase WebRTC and the Internet of Things. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. 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.
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 Gridsto...
SYS-CON Events announced today that Red Hat, the world's leading provider of open source solutions, will exhibit at Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Red Hat is the world's leading provider of open source software solutions, using a community-powered approach to reliable and high-performing cloud, Linux, middleware, storage and virtualization technologies. Red Hat also offers award-winning support, training, and consulting services. As the connective hub in a global network of enterprises, partners, a...
As the Internet of Things unfolds, mobile and wearable devices are blurring the line between physical and digital, integrating ever more closely with our interests, our routines, our daily lives. Contextual computing and smart, sensor-equipped spaces bring the potential to walk through a world that recognizes us and responds accordingly. We become continuous transmitters and receivers of data. In his session at Internet of @ThingsExpo, Andrew Bolwell, Director of Innovation for HP’s Printing and Personal Systems Group, will discuss how key attributes of mobile technology – touch input, senso...
The Internet of Things (IoT) is making everything it touches smarter – smart devices, smart cars and smart cities. And lucky us, we’re just beginning to reap the benefits as we work toward a networked society. However, this technology-driven innovation is impacting more than just individuals. The IoT has an environmental impact as well, which brings us to the theme of this month’s #IoTuesday Twitter chat. The ability to remove inefficiencies through connected objects is driving change throughout every sector, including waste management. BigBelly Solar, located just outside of Boston, is trans...
Connected devices and the Internet of Things are getting significant momentum in 2014. In his session at Internet of @ThingsExpo, Jim Hunter, Chief Scientist & Technology Evangelist at Greenwave Systems, will examine three key elements that together will drive mass adoption of the IoT before the end of 2015. The first element is the recent advent of robust open source protocols (like AllJoyn and WebRTC) that facilitate M2M communication. The second is broad availability of flexible, cost-effective storage designed to handle the massive surge in back-end data in a world where timely analytics...
Internet of @ThingsExpo Silicon Valley announced on Thursday its first 12 all-star speakers and sessions for its upcoming event, which will take place November 4-6, 2014, at the Santa Clara Convention Center in California. @ThingsExpo, the first and largest IoT event in the world, debuted at the Javits Center in New York City in June 10-12, 2014 with over 6,000 delegates attending the conference. Among the first 12 announced world class speakers, IBM will present two highly popular IoT sessions, which will take place November 4-6, 2014 at the Santa Clara Convention Center in Santa Clara, Calif...
The Internet of Things (IoT) promises to evolve the way the world does business; however, understanding how to apply it to your company can be a mystery. Most people struggle with understanding the potential business uses or tend to get caught up in the technology, resulting in solutions that fail to meet even minimum business goals. In his session at Internet of @ThingsExpo, Jesse Shiah, CEO / President / Co-Founder of AgilePoint Inc., will show what is needed to leverage the IoT to transform your business. He will discuss opportunities and challenges ahead for the IoT from a market and tec...
From a software development perspective IoT is about programming "things," about connecting them with each other or integrating them with existing applications. In his session at @ThingsExpo, Yakov Fain, co-founder of Farata Systems and SuranceBay, will show you how small IoT-enabled devices from multiple manufacturers can be integrated into the workflow of an enterprise application. This is a practical demo of building a framework and components in HTML/Java/Mobile technologies to serve as a platform that can integrate new devices as they become available on the market.
SYS-CON Events announced today that O'Reilly Media has been named “Media Sponsor” of 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. O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O'Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying "faint signals" from the alpha geeks who are creating the future. An...
SYS-CON Events announced today that Aria Systems, the recurring revenue expert, has been named "Bronze Sponsor" of 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. Aria Systems helps leading businesses connect their customers with the products and services they love. Industry leaders like Pitney Bowes, Experian, AAA NCNU, VMware, HootSuite and many others choose Aria to power their recurring revenue business and deliver exceptional experiences to their customers.
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.
The Internet of Things (IoT) is going to require a new way of thinking and of developing software for speed, security and innovation. This requires IT leaders to balance business as usual while anticipating for the next market and technology trends. Cloud provides the right IT asset portfolio to help today’s IT leaders manage the old and prepare for the new. Today the cloud conversation is evolving from private and public to hybrid. This session will provide use cases and insights to reinforce the value of the network in helping organizations to maximize their company’s cloud experience.