Geeks With Blogs

News This is the *old* blog. The new one is at

Elton Stoneman
This is the *old* blog. The new one is at
June 2014 Entries
IDisposable Best Practices for C# Developers
My latest Pluralsight course has been released! It’s called: IDisposable Best Practices for C# Developers It covers what you need to know about IDisposable, and why you need to know about it. IDisposable is a simple interface and it’s simple to use. But if you read about IDisposable, most sources describe it in the context of unmanaged resources, so when you’re building a pure managed app, you could well think you don’t need to worry about IDisposable - but you’d be wrong. In the course I start with ......

Posted On Monday, June 30, 2014 6:47 PM

Using CMS for App Configuration - Part 3, Consume Your Config
After Part 1 and Part 2, we now have an app config server with a nice UI and a publishing workflow for changes. In our app, we can get the current config settings with an HTTP client reading from the URL for the config document: And we’ll get a response like this: { "connectionStrings": { "redis": "connection;string;goes;her... "sqlServer": "and;for;sql;" }, "caching": { "lifespan": "PT10M", "maximumSize": 300 }, "appSettings": { "termsAndConditionsUrl": " ......

Posted On Friday, June 27, 2014 12:16 PM

Using CMS for App Configuration - Part 2, Publish Your Config
Following on from Part 1 – Deploying Umbraco, we have a nice new installation of Umbraco, hosted in an Azure Website and using SQL Azure for storage. In this post, we’re going to define some configuration settings for an application, capture the settings for one environment, and publish them as JSON – all without leaving Umbraco. Define the Document Type In Umbraco, content templates are called Document Types, and they’re set up in the Settings section from the left hand nav. We can host the config ......

Posted On Friday, June 13, 2014 7:47 PM

Using CMS for App Configuration - Part 1, Deploying Umbraco
Since my last post on using CMS for semi-static API content, How about a new platform for your next API… a CMS?, I’ve been using the idea for centralized app configuration, and this post is the first in a series that will walk through how to do that, step-by-step. The approach gives you a platform-independent, easily configurable way to specify your application configuration for different environments, with a built-in approval workflow, change auditing and the ability to easily rollback to previous ......

Posted On Wednesday, June 4, 2014 7:56 PM

Copyright © Elton Stoneman | Powered by: