Does this sounds familiar to you: You come to work early(ish) in the morning - ready to apply a new technology you've just learnt about - just to find out that you can't. Your frustration grows as you understand that in order to use this "new and shiny" some adjustments must be made and what … Continue reading Using C# anonymous types to assert complex results in your unit tests
Tag: C#
How to count the number of event invocations using Rx
A while ago I've needed to count the number of events arriving from an external system and perform a specific task once a specific threshold has been reached. I've needed to count groups of events each group had it's own unique key. Although I might have been able to solve this problem using a dictionary … Continue reading How to count the number of event invocations using Rx
ConFoo Montreal – Here I come!
A few years ago I had to pleasure to speak at ConFoo Montreal and it was fun. This is why I'm excited to have the chance to come to Montreal once again. This time I'm not going to talk about unit testing, instead I have the following sessions: Developing multi-platform microservices using .NET core - … Continue reading ConFoo Montreal – Here I come!
When would we get .NET Core 2.0 AWS Lambdas?
The short answer is... Soon? During AWS re:invent I've hoped to finally hear about .NET Core 2.0 Lambda functions, and I did, but it was not what I expected. You can see the good people of Amazon are hard at work, there's a demo of .NET Core 2.0 towards the 13min mark. Hopefully soon we'll … Continue reading When would we get .NET Core 2.0 AWS Lambdas?
Getting started with C++ unit testing
I have been "living" in the C++ world since the very beginning (of my career). But lately I've noticed a rising interest in C++ unit testing and even got to speaking about it in NDC Oslo. But there's more to it than testing 10 year old C++ legacy code - it is my opinion that … Continue reading Getting started with C++ unit testing
New Pluralsight course: Advanced C++ Mocking Using Google Mock
My latest course: Advanced C++ Mocking Using Google Mock was published during the weekend. After finishing my very first Pluralsight course I knew I want to author another one. I've been working with C++, Java and .NET developers for the last five years, teaching about clean code, design patterns and unit testing. I've seen good developers struggle with TDD, … Continue reading New Pluralsight course: Advanced C++ Mocking Using Google Mock
Programming AWS using Visual Studio 2017
Amazon Web Services (AWS) was always supportive of Java, Node.js and Python. But with the lately C# support has been added as well. For the last few months I've been using C# to develop tools and services for the AWS cloud, and so I was happy to discover last month that a prview for AWS … Continue reading Programming AWS using Visual Studio 2017
What to do when Visual Studio 2017 debugger won’t attach to Docker
We've been developing .NET Core micro-services for a few months. Obviously we've decided to use Docker for Windows for deployment. Don't get me wrong I still find the experience amazing: Write code, and immediately debug your code running on Docker, it got to a point I no longer think about this amazing integration - write … Continue reading What to do when Visual Studio 2017 debugger won’t attach to Docker
March 2017 podcast list update
I’ve been listening to podcast for a long, long time. I've started like many other to listen to podcasts on my commute to/from work and still do. Technical podcasts helped me learn about new technologies and stay in touch of existing ones. But most importantly they keep me entertained - even during the worst of … Continue reading March 2017 podcast list update
Using conditional breakpoints to filter exceptions during debugging
With every new version the C# language has grown and improved. The last version so a.k.a C# 6 has brought some of my favorite features. And with C# 7 just around the corner I know there's more to come. One of the new useful features added to C# is the ability to filter exceptions. Consider … Continue reading Using conditional breakpoints to filter exceptions during debugging