mountain range

mattias josephsson (9)

Hi there, I’m Mattias, a software developer living and working in Stockholm, Sweden. I blog about technology, culture, code, the web, and where I am going and where I have been. I'm excited about community, media, entrepreneurship and above all, coding!

Cybersecurity fun

I recently began to follow John Hammonds youtube channel. Super fun content focused on various Cybersecurity topics.  In one of his videos he introduced picoCTF, a website full of capture the flag type of challenges. I dived in and started playing around and had…

Continue reading...

NSwag with .Net Core 3.1

My story with NSwag begun a few months ago when I set out to build a new REST API for a specific domain area. I wanted to have the client SDK's generated for me to save both time and effort, this is when I…

Continue reading...

Unit testing in C#

As a software engineer in 2020, writing tests are becoming an ever increasingly important tool in your toolbox and I thought I'd would share a great resource recently published and open sourced by Educations Media Group called Unit testing in C#. This course is published in a…

Continue reading...

Using LINQ with different collection types 

We all work with different types of collections in C# and I wanted to unwrap a pitfall with some ways of determining if a collection contains any items.  Lets consider the following code statements var myList = new List<Guid>(Enumerable.Range(0, 10000).Select(e => Guid.NewGuid())); //List property…

Continue reading...

ASP NET Core 3 Content Formatting

Understand Content Formatting In a standard ASP NET Core 3 API Controller you are used to seeing JSON responses, but this is not the only data format that action methods can produce. The content format selected for an action result depends on four factors: …

Continue reading...