Month: March 2017

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…

Read 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…

Read 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. Those environments might just be “my machine” and “production”, but still: multiple environments! We have good tools for dealing with that in .NET, but what about in our Cordova applications? That’s exactly the question that was asked on…

Read More