Use POCOs to group data and logic - there's more to life than services and DTOs

In C# land, the abuse of services and DTOs is prevalent. How about grouping data and behavior using POCOs? You know, ob)ect oriented stuff 🙂.

December 10, 2019 · 6 min · 1115 words · João Antunes

"Equals" and "==" are not... equal

“Equals” vs “==” is an old topic, but as it’s often times forgotten, there’s probably no harm in talking about it again.

December 1, 2019 · 4 min · 728 words · João Antunes

The Uri composition mystery

A quick tale of an idiot wasting hours by not checking the docs earlier.

May 22, 2019 · 3 min · 472 words · João Antunes

[Redirect Magazine] #9 - GraphQL vs REST, multi-targeting .NET libraries, analyzers and designing APIs

Slower week, a few more links anyways! Articles “REST vs GraphQL APIs, the Good, the Bad, the Ugly “ Interesting comparison between REST and GraphQL APIs. “Targeting builds for multiple frameworks and machines” Nice read on a use case for multi targeting a .NET project across frameworks and operating systems, for a complete multi platform experience. “Avoiding struct and readonly reference performance pitfalls with ErrorProne.NET” Introduction to a set of analyzers to help with some of the latest C# performance oriented features regarding structs....

May 6, 2018 · 1 min · 112 words · João Antunes

[Redirect Magazine] #8 - HttpClient, the actor model, saga pattern, ASP.NET Core issues and some more perf stuff

Here comes some more link goodness! Articles “HttpClientFactory for typed HttpClient instances in ASP.NET Core 2.1” Using the new HttpClientFactory with ASP.NET Core 2.1. “HttpClientFactory in ASP.NET Core 2.1 (Part 1)” Some more info on HttpClientFactory with ASP.NET Core 2.1. This is a much more detail set of articles then the one by Scott Hanselman. The link is for part one but you can then follow through the others, 3 in total at this moment....

April 29, 2018 · 1 min · 210 words · João Antunes

[Redirect Magazine] #7 - Using Firefox, .NET Core 2.1 performance improvements, learning new skills and new C# features

“Another day, another carrot”… I mean, another redirect magazine! Articles “It’s time to give Firefox a fresh chance” While not directly code related, I think this is an important topic. As developers we, better than anyone else, should know that having an application only work well on one browser is terrible. We haven’t even got rid of those horrible sites that require us to fire up Internet Explorer (and Java applets for that matter) and are slipping into a similar scenario with Chrome....

April 22, 2018 · 2 min · 225 words · João Antunes