OdeToCode | 17 Apr 2014 09:12
Scott Allen writes "....Today’s tip comes straight from the AngularJS documentation, but I’ve seen a few people miss the topic.
Inside an ngRepeat directive the special properties $first, $last, and $middle are available. These properties hold boolean..."
Read more » The Special Properties of ngRepeat In AngularJS
OdeToCode | 15 Apr 2014 09:12
Scott Allen writes "....When Microsoft released the source code to MS-DOS and Word, I had to take a look. One of the first functions I came across was ReplacePropsCa from the srchfmt.c file.
/* %%Function:ReplacePropsCa %%Owner:rosiep */
Read more » Deconstructing A Function From Microsoft Word 1.1a
OdeToCode | 14 Apr 2014 09:12
Scott Allen writes "....The idea is to dynamically generate a tabbed navigation using Angular and UI Bootstrap. I’ve done this before, but this time around I needed the ability to deep link into a tab. That is, if a user bookmarks /someapp/tab2, then the 2nd tab..."
Read more » Deep Linking a Tabbed UI With AngularJS
OdeToCode | 08 Apr 2014 09:12
Scott Allen writes "....A few months ago I found myself in a situation where I had to throw some dynamically generated scripts into the browser for testing (and occasionally inspecting and debugging). I wrote a small custom directive to take care of most of the work...."
Read more » Dynamically Injecting Script Tags With AngularJS
OdeToCode | 07 Apr 2014 09:12
Read more » Azure WebJobs With Node.js
OdeToCode | 03 Apr 2014 09:12
Scott Allen writes "....The Azure SDK for Node.js is feature rich and comprehensive, but there is always room to provide some additional abstraction and tailor an API to make it easier to use inside a specific application.
For example, imagine we need to the ability to get..."
Read more » Adapting The Azure Queue API For Node.js
OdeToCode | 02 Apr 2014 09:12
Scott Allen writes "....In software development we face many constraints, and we usually think of constraints as bad things that make our jobs miserable. If we had no constraints, we’d build beautiful software with impeccable error handling because there would be no..."
Read more » Scarcity In Software Development
OdeToCode | 31 Mar 2014 09:12
Scott Allen writes "....Although Azure Blob storage has a formal API that you can use from C#, Node, and many other environments, behind it all is a simple HTTP API. For example, with .NET you can use HttpClient to PUT a new blob into storage.
private readonly HttpClient..."
Read more » Http Clients and Azure Blob Storage
OdeToCode | 27 Mar 2014 09:12
Scott Allen writes "....A few months ago Mads posted some IIS URL Rewrite rules in a post titled “URL rewrite and the www subdomain”. Years ago, when I rewrote this site in ASP.NET MVC, I found URL rewriting to be invaluable. Some URLs in the new version of this site..."
Read more » Some Useful IIS Rewrite Rules
OdeToCode | 26 Mar 2014 09:12
For the examples, let’s assume we are working with a simple function returning a promise like the following doWork function. This code is..."