FREE Building Real-World Cloud Apps with Windows Azure e-book (Jan 2014)


Not the one I did back in 2010 (which is now horribly out of date!), rather a shiny new one which walks you through a patterns-based approach to building real-world cloud solutions. It covers the development process as well as architecture and coding practices.

Download the E-book (PDF) and optionally the companion Fix It Project

The content is based on a presentation developed by (the awesome) Scott Guthrie

  • Norwegian Developers Conference (NDC) in June of 2013 (part 1, part 2)
  • and at Microsoft Tech Ed Australia in September, 2013 (part 1, part 2)

Enjoy.

Pinning sites in Windows 8 – add two meta tags to make it high quality


Windows 8 IE10 allows you to pin sites to the start screen. But the site end up pinned with a favicon (if defined) and an auto generated colour.

image

That is unless you add two meta tags and create yourself a png of 144px by 144px.

<meta name="msapplication-TileImage" content="images/benthepcguy-144.png"/>
<meta name="msapplication-TileColor" content="#d83434"/>

Which can take you from this:

image

to this:

image

Simple :)

Related Links:

New to Expression Blend? Then check out these two videos over on BlendInsider


Many of us are familiar with:

  • Editing code in Visual Studio
  • Editing HTML files in a text editor (perhaps Visual Studio)
  • Editing XAML files in a text editor (perhaps Visual Studio)

But… far fewer of us are familiar with Expression Blend… which turns out to be a “must have” for Windows 8 Metro style app development as it does a great job of editing HTML and XAML.

JavaScript Programming with Douglas Crockford


New to JavaScript programming?
Think you know what JavaScript is… but haven’t really used it for many years?
Considering building Metro apps for Windows 8 using JavaScript?

Then … you could do worse than setting aside a few hours to watch, well, pretty much anything by Douglas Crockford.

I’ve started with the following from 2007 but there are plenty more to go with:

History and introduction

The Good Parts

Douglas and his relationship with JavaScript is nicely summed up as

“a journey from deep scepticism about a flawed, half-baked scripting language in the earliest days to a growing affection for what is now a still-flawed but surprisingly beautiful and powerful language that has ‘radically changed my way of thinking about programming languages.’”

Q&A: Can I use Visual Studio 11 to do Windows Azure development?


This one seems to keep popping up…

The following is true as of 12th March 2012

Short Answer: No. You will need Visual Studio 2010 or 2008.

Long Answer:  You will need to setup a development environment for Windows Azure using Visual Studio 2010 before installing Visual Studio 11. You can find details here.

Day 3 of Windows 8 training… JavaScript OMG :-)


I am just completing the final day of some rather good Windows 8 Metro App developer training. 90% of the time we have been using JavaScript.JavaScript has many “omg” moments when compared to trusty C#. Which is why it has been very handy to have Mike T sitting next to me. If you find yourself “without Mike” (as I will next week), then I would recommend you take a look at his series of OMG posts!

JavaScript OMG! #1 to #5 

  • Semi colons are optional
  • Type system
  • underflow/overflow/Divide by Zero
  • Regular Expressions are built in
  • Truth and Falsy – true unless one of undefined, null, 0, –0, Nan, “”

JavaScript OMG! #6 to #10

  • Global variables live on a global object
  • Expando objects
  • Wrappers
  • Type conversions
  • Object to primitive conversions

JavaScript OMG! #11 to #15

  • Variable Scope – no scope blocks, can use before declare
  • Bitwise operators – avoid
  • Equality and Strict Equality – === and !==
  • “use strict” – use it!
  • Magic of short-circuiting ANDs and Truthy/Falssy

JavaScript OMG!: #16 to #20

  • Optional Function Arguments
  • Nested Functions
  • Arrays vs Lists
  • Function Invocation Context and Strict Mode
  • Nested functions and Invocation Context

JavaScript OMG #21 to #25

  • Everything is a function
  • array.sort won’t sort numbers correctly
  • parseInt() needs help
  • Callbacks and scope
  • Function Literals create functions

JavaScript OMG #26 to #30

  • Partial Application and Mapping
  • Self Defining Functions
  • This or That
  • Events
  • And finally… “It’s just like everywhere”

Deploying PHP and ASP.NET Sites in a Single Azure Web Role


One of the companies on www.sixweeksofazure.co.uk asked us about the specifics of deploying into a single web role two solutions – one built in PHP and one built in ASP.NET.

I reached out to Brian Swan for help. Brian is one of the Microsoft team focused on making PHP developers very happy on the Microsoft technology stack.

Brian created a great post in response to the customers question. Thanks Brian.

image