Hour 7. Debugging, Securing, and Measuring Our App’s Performance

What You’ll Learn This Hour:

• How to debug an app

• How to use JSLint

• How to turn on JavaScript exceptions in Visual Studio

• How to break on JavaScript exceptions

• How to use the JavaScript console

• How to debug JavaScript promises

• How to pass information securely between local and web context

• How to scrub all input

• How to store data securely using the PasswordVault

• How to measure performance of apps with the Visual Studio profiling tools for JavaScript

• Performance tips when writing JavaScript

This is the last hour of Part I, “Building the Foundation.” We have spent a lot of time working on the foundation of what makes a Windows Store app. Microsoft’s slogan during ...

Get Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.