DCSIMG
Windows 8,Visual Studio 11 - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » Windows 8 » Visual Studio 11 (RSS)
Windows 8 RTM JavaScript – FlipView Control
Tweet Windows 8 Metro App has couple of wonderful ways to display data, the more common way is Grid and Split Application Template. (You can read more about Windows 8 Project Templates - Windows 8 JavaScript Metro Application–Getting Started ). But there are several other ways to display information, in this post I’ll demonstrate a FlipView control, that represents an items control that displays one item at a time, and which enables "flip" behavior for traversing its collection of items...
Upgrade Metro App From Beta To RC
In my previous post Convert VS 11 Beta Metro Projects To VS 2012 RC I talked about upgrading the Project file from Beta to RC, in this post I’ll try to talk about all changes made from Beta to RC. I don’t know all the breaking changes in JavaScript and C# but I collect all the breaking changes from the application and games I develop and I’ll show them here. JavaScript + HTML Type Old Value New Value Comment Event MSGestureTap onclick   Event MSGestureHold oncontextmenu   Method getPointerList...
Convert VS 11 Beta Metro Projects To VS 2012 RC
Over the last months I’ve worked a lot with Windows 8 Metro applications, from Consumer Preview to Preview 2 and now to RC. When working on Beta versions you know that you have to upgrade your app when RC or RTM versions will published, and sometime those upgrades can take a while… So this is the first part of upgrading your Project from Visual Studio 11 Beta to Visual Studio 2012 RC, in my next post I’ll talk about code Changes from Beta to RC both for C# and JavaScript. JavaScript For JavaScript...
Windows 8 – Icons
Tweet Everyone who start developing for Windows 8 most heard about the AppBar control, the AppBar control is a navigation bar allowing the developer to add commands for his application. When you define a command for AppBar you can set a Icon for it and there is already a lot of icons available for you out of the box in any Metro app. To use those built it icons in C# and JavaScript you just need to set the font-family to - Segoe UI Symbol and write down the hexadecimal value of the icon. Because...
Windows 8 - DEP0600 : The following unexpected error occurred during deployment
Tweet While working on JavaScript Game in Windows 8 I got the below error when trying to run it from Visual Studio 11: Error : DEP0600 : The following unexpected error occurred during deployment: Illegal characters in path.    at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)    at System.IO.Path.Combine(String path1, String path2)    at Microsoft.VisualStudio.ImmersiveProjectServices.Shared.AppxLayoutManager.CheckPackageLayoutState(DeployPackageName...
Window 8 JavaScript–Asynchronous Programming & App Storage
Tweet In this post I’m going to talk about WinJS.xhr that makes an XMLHttpRequest as a Promise, and how to save and load images and from your local storage. What is a Promise? Promise is a way for Asynchronous Programming in JavaScript , Avoiding synchronous execution in single-threaded languages like JavaScript is necessary in order to create apps that are responsive and high performing. Windows Library for JavaScript provides a consistent and predictable mechanism called a Promise that simplifies...
Windows 8 JavaScript–Splash Screen
Tweet When creating an Win 8 Metro App you define splash screen with a single image, what if you want to do more… For example show some animations, load your resources before the application loads and more. In this post I’ll show you how to create custom Splash Screen and control the load event so you know when the loading is over and your user can start using the application. In my demo I’ll display some canvas animation and a timer (from 10s) until going to the main page. Download Demo Project...
Windows 8 JavaScript – Message Dialog
Tweet In my previous post I talked about App Settings , and now it’s time to talk about on of the most important things – Message Dialog. Download Demo Project I’ve already saw people who wrote overlay div to show messages, just because they didn’t find how to add more buttons for the Message Dialog, so let me show you how- Using the WinRT you can use the MessageDialog to popup a message to the user: var msg = new Windows.UI.Popups.MessageDialog( "Message Content" , "Your Message Title"...
My First Metro Application – Metro Puzzle
Tweet Last week me and other 20 guys from Sela Group were in the Build Conference where we first saw the new Windows 8 operation system and many cool things coming from Microsoft in the new release. I have much to say about new things regarding ALM, Metro but as always I prefer to start with building something with the new technology instead of talking about it…. So now I’ll talk about my first Metro Application for Windows 8 called – Metro Puzzle based on Puzzle 15 also called the N-Puzzle . Step...