try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Practical Promises in JavaScript - What are they, and how do I use them?

JavaScript promises are a concept that I see developers, both pros and novices, struggle with on a regular basis. For those of us that come from a synchronous-programming background, using them effectively and understanding what's happening can be challenging, especially if you don't have a good grasp on all the ways that promises can be manipulated and used. In this new series of posts, we'll be looking at how to use promises effectively. More...

Altering a JSON Response with Azure API Management Portal Policies

Altering a JSON Response with Azure API Management Portal Policies One of my clients has started using Azure API Management (APIM) on top of their ASP.NET Web API endpoint. This worked fine for just about everything, with very few changes, until we started returning paged result models. Suddenly, our clients were making requests to the internal URL, and not the APIM URL, and things started blowing up. There's a happy ending to this story though, as fixing the issue was easy, thanks to APIM's built-in Policies. More...

Handling Environment-Specific Configuration with Visual Studio Tools for Apache Cordova

I would wager that just about every app you work on is actually deployed in multiple environments. [More]