Bernie Cook's Blog

Azure, C#, .NET, Architecture & Related Tech News


Leave a comment

Book Review: “Pro HTML5 Programming”

In order to gen up on the latest developments, and benefits, of HTML5 I purchased a recently published book on the topic; Pro HTML5 Programming (2nd Edition). The authors have done a terrific job – having revised the previous edition, which received a lot of positive reviews on Amazon.com, and providing sufficient examples, descriptions, and commentaries on each particular HTML5 element and API which made each chapter very easy to digest. Having recently finished Pro HTML5 Programming I can say with certainty that I feel a lot more confident knowing where, when and how to best integrate HTML5 into the projects I manage, which was exactly what I was looking for.

The HTML5 specification is still incomplete so buying a book on the topic means that you probably won’t be using it as a reference guide in several months. However, having said that, if you want to learn HTML5 you have to start somewhere, preferably somewhere where the content was written very recently, and somewhere where this particular issue is discussed openly by the authors and addressed where relevant. Thankfully the second edition of Pro HTML5 Programming was released in December 2011 and the authors constantly refer back to the evolving state of HTML5 so you never feel like you’re reading dated information. Continue reading


1 Comment

SVG-edit – A Free, Web-Based, SVG Editor

Google Code is hosting a free SVG editor aptly titled: SVG-edit. It runs in your browser (granted you’re running a recent version of Chrome, IE, Firefox, Safari or Opera) and it’s loaded with features (see below).

Although you can’t use it to create SVG animations it does just about everything else you’d want from an SVG tool. And switching between the visual editor view and source code view can prove useful if you want to quickly generate some HTML5 SVG source code without having to write it from scratch. Continue reading


Leave a comment

AJAX AutoCompleteExtender/Web.Config Rule Issue

Last week I was adding the latest AJAX AutoCompleteExtender control (from the November 2011 AJAX Control Toolkit release) and ran into a peculiar problem which I later corrected and thought I’d document.

The updated AJAX AutoCompleteExtender has a lot of appeal, particular with regards to integration – you don’t have to call a separate web service, or a separate AJAX-enabled WCF service, or add entries to your web.config, to populate the AutoCompleteExtender control – all you need is a public static method in your code-behind page. The method signature is provided below: Continue reading


Leave a comment

Adding reCAPTCHA to an ASP.Net Website

I recently implemented a reCAPTCHA control into an ASP.NET website (a Windows Azure web role to be exact) and it was so incredibly easy I thought I’d write a post about it.

In the event that you don’t know what a reCAPTCHA control is Google’s official reCAPTCHA website describe it as:

A CAPTCHA is a program that can tell whether its user is a human or a computer. You’ve probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from “bots,” or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs. – “What is reCAPTCHA

Continue reading