dotnet falcon

Blogging about .NET and software development - from my bird's eye view

Adding logging using Mono.Cecil

Adding logging using Mono.Cecil

May 5, 2018
A while back (actually, it's been a long while) I found an interesting question on Stackoverflow. The question was about adding logging to method calls automatically. Or to rephrase: the question was basically about handling aspect-oriented programming using Mono.Cecil in .NET. So given this piece of code:
Visual Studio icon font

Visual Studio icon font

May 2, 2018
As you can probably see from my blog posts, I'm not really a front-end guy. If push comes to shove, I can manage some basic css, js and html but it's not really my thing. But sometimes, push does come to shove. As I was building
Using Cognitive Services from Excel via PowerQuery

Using Cognitive Services from Excel via PowerQuery

Apr 25, 2018
I have a client that I regularly consult with about various .NET application development tasks. One time they were describing me a particular piece of software that supports product logistics. One part of the process is that products are basically assembled on a conveyor belt. They also showed me the
Throwback Thursday: Typed SQL reader

Throwback Thursday: Typed SQL reader

Apr 19, 2018
I've found an old HDD of mine and I got curious: what's on it? I had an old 3,5" HDD to USB adapter lying around and to my surprise, it was still working :) So I put the HDD in it, connected it to my
Danger Zone: The dark side of C# 7 ref return

Danger Zone: The dark side of C# 7 ref return

Apr 8, 2018
C# 7.0 introduced the new feature of ref return and ref locals. I have to say, I wasn't sure about the actual usefulness of the feature, but with the recent additions of reference semantics with value types in C# 7.2 I do see how they can