Ben's Blog A place to share my thoughts

C# Action and Func generic delegates

I have been diving deeper into the C# language, and today, I covered Action and Func generic delegates – good news, they’re pretty simple.

Read more

Masters Thesis

I have finally got round to uploading my masters’ thesis! It was by far the most challenging piece of work that I have ever done but it was an incredible and insightful journey taking me a solid 150-200hours! I have copied the title and the abstract below, so you can decide if you wish to embark on the adventure. If you do, I hope you find some value and learn a few things about the state of the industry, big data and distributed computing! I’ve licensed it under a Creative Commons Attribution 3.0 license, so you’re welcome to share and adapt the work but you must provide attribution to me, Benjamin Scabbia. Please do send me an email or leave a comment below should you have any questions.

Read more

C# can’t add 8 or 16 bit types, but it’s good with 32 bit

This surprised me today when I found out that arithmetic operators (+, -, *, /, %) in C# are not defined for 8 or 16 bit integral types!

Read more

Dependency Injection in ASP.NET MVC 5+

In this short article, I will explain and demonstrate dependency injection in ASP.NET MVC.

Read more

SQL Pivot to obtain EAV data

Here is a brief post showing how we can use a SQL pivot to obtain EAV data.

Before I go into the actual code and briefly explain how it does it, I will explain the reasoning why such a model was developed.

Read more