Why use TypeScript instead of just using JavaScript?

TLDR: Type safety, productivity, intellisense, and debugging. In continuing with my recent trend of using TypeScript, I wanted to illustrate how to create functions and variables in TypeScript, because this initially threw me into a loop. The code for this example can be found here. JavaScript and C# are the two languages I use in most of……


How to add type definitions to a TypeScript project

TLDR: Use typings install –ambient <name of framework> to install type definitions The code for this project can be found in this repository. I’m still pretty new to TypeScript and trying to get the hang of things. One thing I’ve had a difficult time with is getting type definitions. Most of the blog posts I could find……


How to force NPM to use latest version of TypeScript

I recently started using TypeScript for a new project, and hit a few snags along the way. The first of which, was that my local project was using an older version of TypeScript, specifically 1.0.3.0 . This was odd, because I had just installed the latest version of TypeScript, but globally and locally. I searched around and……


Game Dev Show 01 – Which language should I program my game in?

  Hello and welcome to the first episode of the Game Dev Show, I’m @DaveVoyles. Throughout this series we’ll have several Microsoft Technical Evangelists, as well as some guests, to introduce you to the concepts behind game development from a number of angles, including the programming, art, and business aspects of game production. Every Wednesday……


Sponza, the new WebGL demo from BabylonJS

Whenever I hear developers say “The web is slow” I think of the experiences others have crafted from WebGL, the graphics API available to the browser. Several developers from Microsoft started the open source WebGL framework, BabylonJS, several years ago and continue to build on it now. On this page you’ll find their latest experience. ……


Deploy a website to Azure using GitHub

Picture this scenario: I want to create a website and use GitHub for source control. How can I have Azure websites point to my GitHub account and pull the code from there? Why do this? With this setup, I can make changes to my code base, from any machine in the world and push it……


Creating and debugging hosted web apps with ManifoldJS and VorlonJS

What problem do these two things solve? ManifoldJS aims to make the life of a mobile developer easier than ever, by utilizing  Web App Manifests,  which allowing websites to declare app-like properties. ManifoldJS uses that standard for those platforms that support it, but falls back to Cordova for those who don’t. Cordova is great, but the……


[Video] Talk on transpiling C/C++ to JavaScript with Emscripten

Writing code for multiple platforms can be a lot of work. It can be even more work to have to completely rewrite it for each one, too. What if you wrote an application in C++, but wanted it to be displayed in the browser somehow? Well now, with a tool called Emscripten, that’s possible. Emscripten……


Links from the latest newsletters

In the past, I’ve been posting that week’s newsletter on here nearly immediately after it went out to your emails. What I’ve decided to do recently was send out the newsletter every TWO weeks instead of each week, and now post this once a month, thereby combining the newsletters. I have had a nice couple……


[Video] Web Dev workshop

During this web development session I cover the history of web dev for the first 30 minutes, as well as showcase some examples of what is possible on the web today. Following that, I go through a workshop with students where we cover the Kahn Academy’s introduction to HTML/CSS course, which can be found here….