Samples

In the last post I introduced v2.0 of our open source, composition framework. In this post, I’m going to cover a quick example of how to get started with the basics of the endjin composition framework. Firstly, we define an interface for some type Then, we create a concrete type for our interface Now we can [...]


PowerShell Best Kept Secrets: Splatting

by Howard van Rooijen

It’s been over a year since I wrote An Omega Geek’s Guide to Learning PowerShell, and I thought it was about time, with all the recent  noise about scriptcs, that PowerShell should get some more love as it’s a much overlooked and misunderstood gem of the .NET and Windows ecosystem. When I announced in the office that [...]


Example Responsive Layout Using Bootstrap

by Matthew Adams

In my previous post, we listed a few learnings from our experience of using Boostrap as a layout engine in an HTML5 website. In this post, I’ve put together a basic example that illustrates some of the techniques we talked about. I’ve structured a page with a header; left-hand sidebar; body content with a call-out [...]


Integration testing with Web API

by Mike Larah

I recently had do a project where I wanted to run integration tests on some Web API controllers, so this post is to describe the method for doing so. The way to do it is to mock an HttpServer and HttpClient class, but first you have to change some of the config to get them [...]


Calculating Distance using SQL Server Spatial CLR Types

by Howard van Rooijen

I created a quick sample to solve a problem today and thought I’d post the code as it took me a while to track down all the relevant bits of information. The problem I wanted to solve was that I wanted to be able to geocode a user’s postcode and then calculate the distance between [...]