If you come from JavaScript world you will badly miss the alert() function. However, this habit can be entertained if you declare a function at default.js file. Then it will be accessible in all other pages which are navigated from default.html page. function alert (message) {
var msgBox = new Windows...

In Windows Store Apps if any unhandled error comes it closes the application. This sliently happens to terminate the app. This is a default behavior. We can change this behavior by handling the “unhandled” errors. app.onerror = function (e) {
var message = e.detail.message;
var description = e.detail...

Because you simply cannot ignore it. It is just an amazing tool to have This gives you WYSWYG Takes care of the dynamically loaded controls with data while designing Data bound WinJS controls are not visible in Visual Studio unlike ASP.NET You can also view and design for different layouts like snapping...

At runtime we may have file coming from sources like Web Cam. This is not a file at that point in time. It is just a stream. Now, if I am into a HTML WinJS app how can I add it? Let’s you have a file with “myFile”. //Make the temporary URL (HTML5)
//This URL is valid only within the context
var url...

Windows 8 and WinJS.xhr goes hand in hand while developing application to consume web. I was trying out something like that. It used to work fine for the first run. But the second and consecutive runs it gives error as below. Error message Exception is about to be caught by JavaScript library code at...