Cameron Wilby


Freelance software developer. I blog about tech things from time to time

Blog posts

Can ASP.NET serialize covariant collections?

TL;DR - Yes, it can. While working on a project tonight, I wanted serialize a covariant list (A collection of objects where each type inherits from the same base class). I decided to make a quick experiment and was chuffed with the results. (Chuffed here means delighted, but not Read more →

3x3 Learning goals for 2017

The 3x3 learning goal is something I thought up this year. I decided instead of creating a large, single resolution for myself, I would create 9 achievable goals for myself broken into three categories. I picked three goals in the following three areas: Software Development Learn how to build and Read more →

You should use LINQ Extension Methods

Language Integrated Query (or LINQ) is one of the most powerful features of C#. It allows you to query any kind of collection you can think of in C# with a syntax similar to SQL. Quick example: var countries = new string[] { "Afghanistan", "Algeria", "Bahamas", "Cyprus", "Czech Republic", "Denmark", "Djibouti" }; // Here Read more →

SACA Stack: How data flows in a full stack web application

SACA - An acronym describing a technology stack comprised of SQL Server, ASP.NET, C# and AngularJS. One of the tricky parts getting started with full stack web development is keeping track of how data moves between all the little pieces that form a much larger system. Read more →

When to use singular/plural in your code.

There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton One of the biggest challenges that developers of all levels of ability face is naming things. For seasoned developers, it's coming up with names for design patterns. For newer developers, it's coming up Read more →

Writing minification safe Angular code

One of the best tools a web developer can utilize to reduce load time of a website is minification (Sometimes referred to as uglify). Minification essentially takes your JavaScript code, and condenses it into the smallest possible form that can still be read by a JavaScript runtime. For example, this Read more →