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 🙂.
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 🙂.
“Equals” vs “==” is an old topic, but as it’s often times forgotten, there’s probably no harm in talking about it again.
A quick tale of an idiot wasting hours by not checking the docs earlier.
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....
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....
“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....