共用方式為


A course on JavaScript, HTML5 and Windows 8 App building

Sanjeev Dwivedi @MSFT

Using the Convert-WindowsImage.ps1 script to generate VHDs

The powershell script to convert Windows ISOs to VHDs works pretty well. However, its usage is...

Date: 09/11/2015

Understanding the GPIO pin out mapping for CC2540DK (SmartRF05EB + CC2540EM module)

Developing a prototype with the CC2540DK (SmartRF05EB + CC2540EM) I hit the issue where the pin...

Date: 06/26/2015

Weird black lines between sprites in Cocos2d-x

Today, while building a sample game, I noticed that there were weird black lines between my sprites....

Date: 05/19/2015

Arduino integer overflow headscratcher

I was testing out a piece of Arduino code that someone sent my way. They complained that a...

Date: 05/18/2015

Tired of entering passwords in git-bash? Read on

I have used git-bash for a long while and finally gotten sick of typing passwords all the time.. on...

Date: 05/14/2015

Cleaning up Visual Studio C++ projects

After manually cleaning up Visual Studio C++ solutions for a long time, finally I had enough when I...

Date: 04/26/2015

Running an async operation from a synchronous function

One of those things that you almost never need, but if you need it, you need it. I hit a scenario...

Date: 10/22/2014

Windows Phone 8.0 Direct3d apps don’t have access to Launch Parameters

Recently, someone asked me that if a pure C++/Direct3d application on Windows Phone 8.0 was invoked...

Date: 08/07/2014

How to add a refresh method to a backbone router

While creating a simple web app, where I created an ajax powered form using backbone.js, I needed...

Date: 07/24/2014

Fall Fury Game as a Universal Windows and Windows Phone app

During Build 2014, I ported over the Fall Fury game, that was originally written for Windows Store...

Date: 07/10/2014

Editing any document directly from the Windows Explorer using Notepad plus plus

This is a very short post on the excellent integration of Notepad++ with Windows Explorer Shell. I...

Date: 07/09/2014

How to pass loop variables in a JavaScript callback

This is a common problem encountered i.e. if you are making ajax calls in a loop and you need access...

Date: 06/30/2014

ASP.NET MVC – Adding RequireJS/Backbone/Marionette to your solution

Recently, while build a website on Azure, I needed a quick, simple login mechanism. There is an...

Date: 06/20/2014

C++/Cx: Getting around the very limited DateTime object

You know, I have been writing a LOT of C++/Cx recently and I have hit a bunch of issues. This...

Date: 04/23/2014

WinRT in C++/Cx and registering and unregistering event handlers

Having to work in C++/Cx, every day I have new appreciation for C#. Things that I take for granted...

Date: 03/19/2014

Getting access to the UI dispatcher from a background thread (Win8/8.1)

I recently struggled quite a bit trying to get access to the UI dispatcher from a background thread....

Date: 03/07/2014

C# synchronization blocks containing await or how to lock a block with an await

Recently working on a project, I came across a scenario where I needed to lock a block so that only...

Date: 02/11/2014

C#/XAML App suspend: Bug/Feature – OnNavigatedFrom called during app Suspend

Got hit by this bug in suspension manager (C# and XAML) and wanted to share it with you in case you...

Date: 02/10/2014

Facebook SDK for .NET screencast

Early this year, I did a talk about the Facebook SDK for .NET and delivered a screencast for it....

Date: 10/23/2013

Understanding Facebook Concepts – Part II

In this video, I explain the tools that you can use to interact with the Facebook programmatically....

Date: 09/27/2013

Understanding Facebook concepts: Part 1 – Open Graph

I work with Facebook SDK for .NET and recently presented at Facebook Mobile Dev Con in New York. To...

Date: 06/20/2013

Single Sign On (SSO) on Windows 8

Single Sign On (SSO) is the ability in Windows 8 to sign into any OAuth provider such as Facebook,...

Date: 06/18/2013

Lesson 11: Scope in JavaScript

In this lesson, I focus on the nitty gritty of Scope and Lifetime of variables in JavaScript...

Date: 02/26/2013

Lesson 10: Prototypes in JavaScript

Sorry for the long delay between the last lesson and this one. Lots of travel and work got in the...

Date: 02/12/2013

Lesson 9: Constructor Functions

Constructor functions in JavaScript are special functions that allow you to create a factory...

Date: 01/18/2013

Lesson 8: JavaScript Functions

JavaScript functions are what gives Javascript its power. With JavaScript functions, you can break...

Date: 01/09/2013

Lesson 7: Assignment 1 – Etch-a-Sketch and CScript

Hello and Happy New Year! I am back in the new year with the first blog entry that will exercise...

Date: 01/02/2013

Lesson 6: Arrays in JavaScript

Arrays are one of the built in DataTypes in JavaScript. They are on par, if not more useful than...

Date: 12/20/2012

Lesson 5: Basics of Source Control with Git

In this lesson, I go over the basics of Source Control. Source Control is the way professional...

Date: 12/19/2012

Lesson 4: JavaScript Objects

Lesson 4 is about JavaScript Objects. JavaScript is an Object Oriented Language and objects in...

Date: 12/18/2012

Lesson 3: Control Flow Statements – Loops and Conditionals

This lesson is about Control flow statements – control flow statements are Loops and...

Date: 12/14/2012

Lesson 2: Javascript – Syntax and basics

Here is the second lesson, syntax and basics. We go over how to run JavaScript code using Node and...

Date: 12/12/2012

A course on Win8 app development with HTML5 and Javascript

After a long time thinking, preparing and finally getting to recording, I am pleased to announce...

Date: 12/11/2012

Learning Expression Blend – Finally!

I have been developing Windows Phone apps for a while but like most developers, I had a bit of an...

Date: 11/14/2012

Windows 8: Sharing a HTML5 canvas as an image

Recently, I was working on a Win8 Javascript app where I drawing something on an HTML canvas. One of...

Date: 11/07/2012

About people

People on the side of The People always ended up disappointed, in any case. They found that The...

Date: 10/20/2012

Craftsmen

“He wanted to say, oh, how he wanted to say: Craftsmen, D’you know what that means? It...

Date: 10/16/2012

Picard and the Q

I was watching “Tapestry”, one of my favorite episodes on Star Trek: The Next...

Date: 09/17/2012

On what we are… and how we remain what we are

“It was said later that he came under bad influence at this stage. But the secret of the...

Date: 09/15/2012

The Pi is Here!

Ever since I heard about the Raspberry Pi, I wanted one. The possibilities are endless. A completely...

Date: 07/27/2012

Starting afresh

First, a few quotes from Terry Pratchett. Who is Terry Pratchett, you might ask. Well, he is the...

Date: 07/24/2012